0

FIND {ti} IN NAME FIELDS RETURNING Account LIMIT 10 above is my sosl query to get Account Names based on ti but the problem is,it also get the field values of website whose value contains ti.is there anyway to search only in Account Names

1 Answer 1

0

You can try the following

[SELECT Id FROM SObjectName WHERE Name LIKE' + '%' + ti + '%'];

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .