Ads

Friday, 3 May 2013

Like operator in SOQL query in JAVA and C#

String sql = 'SELECT Name,Id FROM Account WHERE Name Like '%' + acctName + '%'';

Here 'acctName' is a variable.

No comments:

Post a Comment