Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Where like

What can I use instead of a "like"

All the mailbox ID that I need start with BRIA

FROM eRx.dbo.eRxMessages

Where ProcessedOn >= '2017-06-18 00:00:00.000'
and Direction = 'I'
and MsgType = 'NEWRX'
and MailboxID LIKE 'BRIABRNM','BRIAGENE','BRIAPALO','BRIAPHSTV','BRIAPRES','BRIAWDSD','BRIADSD','BRIAEST','BRIAWITRVS';

5 Replies
Anil_Babu_Samineni

May be like below

FROM eRx.dbo.eRxMessages

Where ProcessedOn >= '2017-06-18 00:00:00.000'
and Direction = 'I'
and MsgType = 'NEWRX'
and WildMatch(MailboxID, 'BRIA*');

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
antoniotiman
Master III
Master III

... and MailboxID Like 'BRIA%'

Regards,

Antonio

Not applicable
Author

Not applicable
Author

Anil_Babu_Samineni

Do this condition with Load statement.

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful