Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

how to form a NOT LIKE statement for Salesforce query

jhouseslu
7 - Meteor

My where close works for something like this:

WHERE Field_Name__c LIKE '%substring%'

 

The problem is that I need this field to NOT contain the substring. I have not been able to make this work. 

 

Any help is appreciated.

2 REPLIES 2
kelsey_kincaid
12 - Quasar
12 - Quasar

Hi @jhouseslu 

 

Try this...

WHERE (NOT Field__c like '%Substring%')

jhouseslu
7 - Meteor

Worked like a charm! Thank you!

Labels
Top Solution Authors