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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
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';

Labels (1)
5 Replies
Anil_Babu_Samineni
MVP
MVP

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
MVP
MVP

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