Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Where Clause text literal issue


Dear,

kindly guide me how to ignore ' in text literal when using in conditon for example,

load *

where rate_desc='N'cash'; its show me error. Condition value is N'cash

1 Solution

Accepted Solutions
tresesco
MVP
MVP

Try like:

where rate_desc='N'&chr(39)&'cash' ;

View solution in original post

4 Replies
tresesco
MVP
MVP

Try like:

where rate_desc='N'&chr(39)&'cash' ;

amit_saini
Master III
Master III

Hi Zainulabedeen,

If you want to ignore N'cash , Try this:

where rate_desc <>' N'cash' ;

or try this:

where rate_desc <>'N'&chr(39)&'cash' ;

Thanks,
AS

Not applicable
Author

Thanks dear, i have done with your help.

Regards,

Zain.

Not applicable
Author

Thanks for your reply.

Regards,

Zain.