-
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, 6 months ago by Piyush.
- This discussion was modified 8 years, 4 months ago by Forcetalks.
- This discussion was modified 8 years, 4 months ago by Forcetalks.
Log In to reply.
Popular Salesforce Blogs
Communicate Between Components Using Events in Lightning Web Components | Salesforce Developer Guide
Introduction Standard DOM events are dispatched by Lightning web components. Custom events may also be generated and dispatched by components. To communicate the components holding…
Guide To Writing Batchable Classes In Salesforce
Ever heard of “Batch classes” in Salesforce and felt a bit puzzled? Don’t worry; it’s simpler than you think! Imagine you’re baking cookies. You don’t…
All About Salesforce High-Velocity Sales
Salesforce is the most popular CRM among enterprises due to its extensive features and rich functionalities. The structure of the Salesforce Customer Relationship Management system is designed…
Popular Salesforce Videos
Apex Scheduler Part II | Asynchronous Apex | Salesforce Video Tutorial
Asynchronous Apex 1. Apex Scheduler 2. Ways to run apex scheduler 3. Cron Expression 4. Examples Upcoming Video on Batch Apex Hope you guys enjoy…
Unleash Your Salesforce Process Automation With This New Connector For Salesforce Lightning Platform
Unleash your Salesforce process automation with this new Connector for Salesforce Lightning Platform (a set of 130 Activities and 5 wizards that allow you to…
How to Build an Email Using Content Builder in Salesforce Marketing Cloud
Cameron Robert steps through how to build your first email in Salesforce Marketing Cloud using Content Builder by replicating an existing Salesforce email from ReallyGoodEmails.com.…