-
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, 7 months ago by Piyush.
- This discussion was modified 8 years, 5 months ago by Forcetalks.
- This discussion was modified 8 years, 5 months ago by Forcetalks.
Log In to reply.
Popular Salesforce Blogs
Relationships in Salesforce Financial Services Cloud
Relationships. One might think that building a good relationship with Salesforce’s Financial Services Cloud would be harder than maintaining a personal relationship, but that is…
Schedule Apex in Salesforce | Apex Developer Guide
Schedule Apex in Salesforce If you want to run apex classes at a specific time then we use schedule apex. If you want to schedule…
Getting Started with Salesforce Lightning Components and Record Pages
What energizes me most about Lightning Experience is the adaptability of the UI. With its module structure, and the capacity to dole out pages at…
Popular Salesforce Videos
Financial Services Cloud – Release Readiness LIVE, Summer '19
Hear about some of the new and exciting features that you can expect from Financial Services Cloud in the Summer '19 Release. Highlights include: -…
What are Permission Sets (Object Level Security) in Salesforce?
In this video, Shrey is not only teaching but also demonstrating Permission Sets used in Salesforce Object Level Security. You will be learning: What are…
Scheduled Actions Workflow Rules, Process Builder and Lightning Flow
Time-dependent actions are executed at a specific time, such as 10 days before a record's close date. When that specific time passes, the workflow rule…