-
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 7 years, 11 months ago by Piyush.
- This discussion was modified 7 years, 9 months ago by Forcetalks.
- This discussion was modified 7 years, 9 months ago by Forcetalks.
Log In to reply.
Popular Salesforce Blogs
Visualizing Salesforce Metadata: Understanding the Relationships with AbstraLinx ERDs
Salesforce is an excellent platform for managing your business as it offers all the necessary features in one place, allowing you to work more efficiently.…
Top Reasons to Learn Salesforce
Salesforce is the number one CRM (customer relationship management) and cloud-based platform that enables companies to manage, organize and track their internal information effectively and…
Why Should I Move My Business to Salesforce
If you are exploring the realm of the CRM business, you will run into plenty of CRMs, with a considerable lot of them offering the…
Popular Salesforce Videos
What is Lightning Unsaved Changes ? | How and Where to Use it in Salesforce?
In this video, you will learn what is Lightning Unsaved Change and how you can use it in your Lightning Components. I will create a…
How to Get a Job in Salesforce as a Fresher | Video Guide
Looking to start a career in Salesforce. Wondering how to get a job in Salesforce as a fresher. Check out this video it will guide…
Is the Salesforce Marketing Cloud the Future For Business?
As the market changes, one needs to keep up with the times. Companies are interested in Salesforce Marketing Cloud because it gives them a competitive…