You need to sign in to do that
Don't have an account?
Ketan Mahet
Return 0 or empty string from SOQL query result.
Hi,
Where retrieving data using SOQL, some of the field has value as null. Is there any way to return 0 or '' from the SOQL query result?
Regards,
Ketan Mehta
Where retrieving data using SOQL, some of the field has value as null. Is there any way to return 0 or '' from the SOQL query result?
Regards,
Ketan Mehta
Like other language SOQL doen't support isNULL keyword in Select clause but as Anupam already asked it would be great if you can describe your requirement so that we can suggest some solutions.
Thanks,
Himanshu
All Answers
What is your complete requirement?
Thanks
AR
Like other language SOQL doen't support isNULL keyword in Select clause but as Anupam already asked it would be great if you can describe your requirement so that we can suggest some solutions.
Thanks,
Himanshu
Sorry, the quetion was not asked efficiently... I was expecting something like isNull technique available in SQL. I don't want to check for null in result from SOQL. I think, for improving performance this can help.
But Himanshu Parashar, clear it all the way....
Thxs...