-
Getting error while running SOQL declared as String
Declared a string and assigned SOQL value as shown below. While running I am getting an error.
String country = ‘United States’;
String accountQuery = ‘SELECT Id,BillingPostalCode,County_Name__c ‘+
‘FROM Account WHERE zipCodeLen__c =9 AND AND BillingCountry = ‘+ Country;-
This discussion was modified 10 years ago by
Piyush.
-
This discussion was modified 9 years, 10 months ago by
Forcetalks.
-
This discussion was modified 9 years, 10 months ago by
Forcetalks.
-
This discussion was modified 10 years ago by
Log In to reply.