-
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 8 years 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
Learn All About Salesforce Apex Programming Language
What is Apex? In the CRM cloud platform, Apex is an object-oriented programming language that has syntax similar to Java, which is also an object-oriented…
Salesforce Community Cloud: Use Cases
Community Cloud, as the name suggests, is a Salesforce platform that gives companies the tools to create branded online communities. Through these communities, companies can…
What Does The Future Hold For Salesforce?
As one of the most exciting Cloud platforms around, the Salesforce suite of applications is beginning to find widespread applicability in a rapidly increasing number…
Popular Salesforce Videos
Slack "Work In Progress" Commercial | Where the Future Works | Success Anywhere | Salesforce
We are HERE. The future? We made it! Maybe it's not quite what we envisioned, but here's the thing: the future is forward movement from…
Build Multi-Column Screens in Flow Builder - Spring'21 feature for the Salesforce Screen Flows
Build Multi-Column Screens in Flow Builder (Pilot) You can divide each flow screen into multiple sections and columns to create a visually appealing and effective…
Salesforce Lightning Training
Here, the video is about the Salesforce Lightning Tutorial. These video covers comprise real-world projects that will introduce you to advanced concepts such as Lightning…