You need to sign in to do that
Don't have an account?
Nagarajan C
i created customobject having one number field my quer select Id from Customer__c where NumberField__c like '%78' but am facing issue
I created custom object having one number field my query
select Id from Customer__c where NumberField__c like '%78' but am facing the issue String field only possible like query
please anyone help to how to query my number field serach query
select Id from Customer__c where NumberField__c like '%78' but am facing the issue String field only possible like query
please anyone help to how to query my number field serach query
try above query
You can not query the number field this way (Like is used with Strings), instead of that use >, < or = to query the records, below is the example from Account.
Mark my answer as best if does help you.
Regards,
Rahul
1.789644
2.786477
3.7899393
4.773883
Now I want soql query for whichever number start with 78 that records alone. can you please asset any other conversion for soql.
Java means we can use cast function for a number field.
Then use below query