You need to sign in to do that
Don't have an account?
Sascha Deinert
SOQL Left()
Hi,
I get the following error:
Compile Error: unexpected token: ','
Thank you,
Sascha
I get the following error:
Compile Error: unexpected token: ','
public Integer getNoOfEZR() { Integer NoOfEZR = [SELECT Count() FROM Einzelrisiko__c WHERE Left(Versicherungsscheinnummer__c,7) = 5758199]; return NoOfEZR; }Where is my mistake?
Thank you,
Sascha
Change your query from
Integer NoOfEZR = [SELECT Count() FROM Einzelrisiko__c WHERE Versicherungsscheinnummer__c Like '5758199%']; return NoOfEZR; }
to
If this helps,please mark it as best answer to help others :)