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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Syed17
Contributor III
Contributor III

Convert oracle query to qliksense script where function

can anyone help me to convert this oracle ( where AAA.ATTRIBUTE5 like '75%' ) into qliksense script.

how to write this in qliksense script.

Labels (3)
2 Solutions

Accepted Solutions
vinieme12
Champion III
Champion III

* is the Qlik equivalent for % in sql

WHERE WildMatch(ATTRIBUTE5, '75*')  

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.

View solution in original post

MarcoWedel
MVP
MVP

there is also a "like" operator available:

https://help.qlik.com/en-US/sense/November2023/Subsystems/Hub/Content/Sense_Hub/Scripting/Operators/...

so just replacing the wildcard % with * in your initial where clause should work as well ...

View solution in original post

4 Replies
anat
Master
Master

Chanty4u
MVP
MVP

Try this

LOAD *

FROM [YourSource]

WHERE match(ATTRIBUTE5, '75%');

vinieme12
Champion III
Champion III

* is the Qlik equivalent for % in sql

WHERE WildMatch(ATTRIBUTE5, '75*')  

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
MarcoWedel
MVP
MVP

there is also a "like" operator available:

https://help.qlik.com/en-US/sense/November2023/Subsystems/Hub/Content/Sense_Hub/Scripting/Operators/...

so just replacing the wildcard % with * in your initial where clause should work as well ...