You need to sign in to do that
Don't have an account?
HARI KRISHNA
Dynamic Query giving wrong result
Hi Friends,
Please check the screen shots:
Check the Query here:-
Check the result here:
Please check the screen shots:
Check the Query here:-
Check the result here:
What's wrong in the query did you find??
"eeretsavd" is just the alias for the lead. You should know about the 'Alias' in the relational databse.
You can the run the query like this also -
"SELECT eeretsavd.id, eeretsavd.name FROM Lead eeretsavd"
Please, have a look at this -
http://www.crmsalesforcetraining.com/alias-notations-in-soql-basic-soql-statements/
Hope this helps you.
Thanks,
Sumit Kumar Singh
All Answers
What's wrong in the query did you find??
"eeretsavd" is just the alias for the lead. You should know about the 'Alias' in the relational databse.
You can the run the query like this also -
"SELECT eeretsavd.id, eeretsavd.name FROM Lead eeretsavd"
Please, have a look at this -
http://www.crmsalesforcetraining.com/alias-notations-in-soql-basic-soql-statements/
Hope this helps you.
Thanks,
Sumit Kumar Singh