-
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 9 years, 9 months ago by
Piyush.
-
This discussion was modified 9 years, 6 months ago by
Forcetalks.
-
This discussion was modified 9 years, 6 months ago by
Forcetalks.
-
This discussion was modified 9 years, 9 months ago by
Log In to reply.
Popular Salesforce Blogs
What is The Use of Test Class in Salesforce | Developer Guide
Test Class Testing is an important part of the Software Development Life Cycle (SDLC). Before moving the code in production, Salesforce ensures that your code…
Top New Features in Spring’24 Release: Salesforce Platform in Lightning
To all the Salesforce enthusiasts, we’re excited to share the latest enhancements, features, and modifications rolled out on the Salesforce Lightning Platform. The top new Salesforce features…
Grow Your Small Business Into A Large Enterprise With The Right Salesforce Customization
Do you know that Salesforce releases tri-annual updates? Do you also know that Salesforce can accommodate thousands of customizations right from your email suite to…
Popular Salesforce Videos
5 Salesforce Developer Interview Red Flags That’ll Likely Get You Rejected
These are some common interview red flags that’ll likely get you rejected for that dream Salesforce developer job. Start prepping accordingly! Watch this video and…
How to Use Salesforce Process Builder 2017
Salesforce process builder is a powerful tool you can use to automate business processes. It has a simple interface that allows you to point and…
Salesforce QA Interview Guidance Program
Do you want to learn what it takes to clear a Salesforce QA interview? In this video, Bava Dharani Ganesan gives a detailed explanation of…