+ Start a Discussion
HelloSanHelloSan 

How to write a where clause in Batch class string query with multiple values?

i need a query to fetch records from account object where program__c(program__c is a picklist field on account form) field is equals to X,Y,Z
pconpcon
Does saying
 
where FieldName__c in ('X', 'Y', 'Z')

not do what you are trying to acomplish?