Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

qvd files

Dear all,

I'm trying to load data from a QVD file, but I don't see my records. I created Myfile.qvd by  STORE Myfile INTO Myfile.QVD.

Then I try to load data by  LOAD * FROM Myfile.QVD, but I don't see anything.

What I'm doing wrong ?

Help please

Thanks in advance

1 Solution

Accepted Solutions
MayilVahanan

hi

You can use it in personal edition also.

Try this,

test:

load * inline

[

product,amount

xxx,56

yyy,78

];

Store test into test.qvd(qvd);

then reload once... After that from script, choose table files and select your  qvd file from the path where it store.. may be file path is problem for you..

you can remove the test table from script because you will get same data from qvd file itself..

hope it helps

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.

View solution in original post

7 Replies
nagaiank
Specialist III
Specialist III

If your table MyFile had any data and you generated the qvd file using the script

STORE MyFile into MyFile.qvd (qvd);

when you load the qvd file using the script

LOAD * from MyFile.qvd (qvd);

you should be seeing your data.

tresesco
MVP
MVP

First look at your qvd size if it has any data at all. Once sure, that your qvd file has data, then one possibility could be - you have used a DROP command somewhere after the LOAD (from qvd) command, it is not necessary that you drop the same loaded table to lose your table, but sometimes if you are loading two tables with all common fields the later one gets concatenated automatically to the pervious one, therefore if you drop the previous table... you lose your both tables, because there was no second table actually.

see, if this is the case.

Regards,

tresesco

Not applicable
Author

I did exaclty the same, but I forgot to mention that I'm using the Personal Edition. Is it possible to use QVD files with this version ?

MayilVahanan

hi

You can use it in personal edition also.

Try this,

test:

load * inline

[

product,amount

xxx,56

yyy,78

];

Store test into test.qvd(qvd);

then reload once... After that from script, choose table files and select your  qvd file from the path where it store.. may be file path is problem for you..

you can remove the test table from script because you will get same data from qvd file itself..

hope it helps

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
Not applicable
Author

Thanks, it works!!!!

Just one thing: is it possible to append new records to an existing QVD file ?

For example:

first loading, all the 2011 records

second loading, all the 2012 records.

At the end, I should have Myfile.QVD with both year.

Thanks in advance

Not applicable
Author

Hi

I'm trying to manage a table with 4 million records. So I would like to approach a sort of incremental loading, like load records year by year or month by month

what I mean is this:

test1:

load * from mytable where Yearfield = 2011

store test1 into myfile.qvd(qvd)

When I run the script again, I should have:

test1:

load * from mytable where Yearfield = 2012

store .... I don't know how to append these records to the existing into Myfile.qvd.

Thanks for your help and advices

MayilVahanan

hi

try this ,

tablename:

load * from mytable where yearfield = 2011 or yearfield = 2012;

store tablename into test.qvd(qvd);

hope it helps

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.