5

I have to query task object to get the rows with subject not starting with 'Email' .

I have tried the given query. But it is not working . Please suggest.

select status, subject, whatId from task where subject  != 'Email:%'

also, there is nothing like NOT LIKE that I can use.

1 Answer 1

6

Can you try the following query

select status, subject, whatId from task where NOT subject LIKE 'Email:%'

You must log in to answer this question.

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