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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Viperidae
Contributor II
Contributor II

Execute SQL Query from a QVD file

Dear community,

I'd like to know if it is possible to execute SQL queries stored in a QVD file.

here is the example:

I have multiple queries saved in a qvd file and I want to execute them in the script editor, is it possible ?

Your help is greatly appreciated 🙂

1 Solution

Accepted Solutions
stevejoyce
Specialist II
Specialist II

I haven't done this exactly, but i would assume this can be done.  If you loop through each row in your qvd, store it into a variable, vSQLQuery = peek(...), and then run $(vSQLQuery), next loop.

 

View solution in original post

2 Replies
stevejoyce
Specialist II
Specialist II

I haven't done this exactly, but i would assume this can be done.  If you loop through each row in your qvd, store it into a variable, vSQLQuery = peek(...), and then run $(vSQLQuery), next loop.

 

Viperidae
Contributor II
Contributor II
Author

Marvelous

Thank you so much, my problem has been solved.