You need to sign in to do that
Don't have an account?
vishalk
can we use like with IN where
here i want all websites names in which front will like www.google.com%
example
or
system.debug('#################query==='+[Select Website_Address__c From Employement_Website__c WHERE Website_Address__c LIKE :UpdtSiteName+'%' IN :UpdtSiteName]);
//here UpdtSiteName is a set
Try doing this
String idSet = '';
for(Id i: Setofids){
system.debug('i'+i);
if(i != null)
idset+='\''+i+'\',';
}
query = select id from Account where Id IN ('+idset+');
try putting in a like in there and let me know if that worked