String queryString =
'SELECT Id,IsPersonAccount,RecordTypeId FROM Account WHERE LastModifiedDate < ' +
Ke.Job_Start_Date_Time__c.formatGmt('yyyy-MM-dd\'T\'HH:mm:ss\'Z\'') +
'AND RecordTypeID IN (\'' + PersonAccount + '\', \'' + BusinessAccount + '\')';
I am learning the difference between static and dynamic SOQL and I am interested to change this query from dynamic to static but I see I cannot do that since static SOQL does not provide INCLUDES. Please correct me if I am wrong