You need to sign in to do that
Don't have an account?
How to use Not Like comparison operator in Salesforce Database Query
hi,all
Following is the sql database query.
SELECT * FROM suppliers WHERE supplier_name not like 'T%';
but i want to achieve in salesforce.
How can i achieve it ?
Any kind of help will be greatly appriciated.
Thanks in advance
Vishal.......
Hi,
You can use the below code to get your requirement.
List<account> ac=[select Id, Name from Account where (NOT Name like 'T%')];
Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.