Skip to main content
Announcements
See why Qlik is a Leader in the 2024 Gartner® Magic Quadrant™ for Analytics & BI Platforms. Download Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Johnnyg248
Contributor III
Contributor III

SQL Tables Used by QVD

I have a folder of about 50 qvd's which were created from sql server table data.

I have been asked to 'reverse engineer' the qvd's to get a list of the sql server tables that were used for each qvd

I know the QVD files are xml files and browsing through them there is the query information

Just wondering if any has had any occasion to have done this and if so would mind sharing an example

 

Thanks!

 

 

1 Solution

Accepted Solutions
Johnnyg248
Contributor III
Contributor III
Author

Thanks so much for the response!

 

I am a bit new to qvd's so apologize if the following questions are a bit basic

 

Not quite sure what the lineage flag set to 1 does exactly

 

why wouldn't this be the default ?

 

 

also the file you provided appears to be qliksense and I am using qlikview

 

Thanks again!

View solution in original post

4 Replies
afurtado
Partner Ambassador/MVP
Partner Ambassador/MVP

I was intrigued and made this model by reading SQL tables, generating the QVD files and then reading these QVD and mounting the SQL, reading again and saving the new QVD in another folder.

You must have lineage enabled before the SQL is already within the QVD to be read  (settings.ini   AllowDataLineage=1)

Otherwise, this approach will not work.

And also remember that I did a small test (4 files) just to show that works. It may require adjustments ....under your responsibility ....

2020-03-20 18_56_42-Qlik Sense Desktop.png2020-03-20 18_57_21-Qlik Sense Desktop.png

furtado@farolbi.com.br
afurtado
Partner Ambassador/MVP
Partner Ambassador/MVP

I forgot to create a  SQL script (txt).

The txt output must be changed yet. 

2020-03-20 19_23_31-Qlik Sense Desktop.png

furtado@farolbi.com.br
Johnnyg248
Contributor III
Contributor III
Author

Thanks so much for the response!

 

I am a bit new to qvd's so apologize if the following questions are a bit basic

 

Not quite sure what the lineage flag set to 1 does exactly

 

why wouldn't this be the default ?

 

 

also the file you provided appears to be qliksense and I am using qlikview

 

Thanks again!

Brett_Bleess
Former Employee
Former Employee

Couple of articles that may help with your last questions:

https://support.qlik.com/articles/000003493 

https://support.qlik.com/articles/000003491 

Regards,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.