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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to dynamic SQL query

hi 

i  try a job by a dynamic query who return the code_grille who contain all condition 

exemple:

i have create a query who return the code_grille who contain all condition 

code_grille :1234 like '%1%' and like like'%2% etc 

now if there a false clause "where like"

i need choose the greatest code_grille who return the maximum of  condition "likes" (not all)

this is my job i the first part 

ideas please!

Labels (1)
  • v7.x

2 Replies
akumar2301
Specialist II
Specialist II

Not Very clear . 

Can you please explain with example ?

fdenis
Master
Master

I think You are looking for dynamic query.
do you know how to use global Map?
and tmap lookup for each row?
Regards