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

Find the sql or logic for QVD

Hello Everyone,

I have a qvd in the local drive but I could not find the logic or sql for the qvd.

How can I find the sql or script for the QVD?

Please help us.

Thanks,

Ratnakanth

Labels (1)
2 Solutions

Accepted Solutions
Tim_Wensink
Partner - Contributor III
Partner - Contributor III

Hello,

One tip for finding the app which created the qvd, if you open the qvd file with a text editor such as Notepad, you can see which app created the file:

clipboard_image_0.png

in this case, the qvd was created with a Qlik Sense app, the id between the CreatorDoc tags is the app id that you can use in your url. Maybe this is helpful for locating the script?

Greetings,

Tim Wensink

View solution in original post

jonathandienst
Partner - Champion III
Partner - Champion III

And if you look further down in the XML header to the QVD, you will find the lineage entries which may show the SQL query (depending on the creation logic used).

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein

View solution in original post

5 Replies
sergio0592
Specialist III
Specialist III

Hi,

For create a qvd you have to use the following statement :

Store TableName into File.qvd;

 

ratnakanth
Contributor
Contributor
Author

Thanks for your quick response.

I can create and save the qvd but I want to view the script (Instead of the qvd path) of qvd when I add the existing qvd in the other app. 

Channa
Specialist III
Specialist III

you can find script for QVD in dataload editor

Channa
Tim_Wensink
Partner - Contributor III
Partner - Contributor III

Hello,

One tip for finding the app which created the qvd, if you open the qvd file with a text editor such as Notepad, you can see which app created the file:

clipboard_image_0.png

in this case, the qvd was created with a Qlik Sense app, the id between the CreatorDoc tags is the app id that you can use in your url. Maybe this is helpful for locating the script?

Greetings,

Tim Wensink

jonathandienst
Partner - Champion III
Partner - Champion III

And if you look further down in the XML header to the QVD, you will find the lineage entries which may show the SQL query (depending on the creation logic used).

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein