Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
kwnkhn
Contributor
Contributor

Load statement not loading all rows

Hi,

I am trying to load data into a qvd or text file, but not all rows are getting loaded. The data source has about 700,000 rows, but only about 200,000 get loaded every time I execute the script, whether into a qvd or text file. There are no errors registered. Why is this happening?

I am using the basic load and store statement:

QVTable:
LOAD Column1,
            Column2;
SQL SELECT Column1, Column2 FROM SQLTablename;

STORE QVTable INTO Drive:\Path\QVTable.csv (txt);

4 Replies
marcus_sommer

I think the cause is either your database-driver which couldn't handle all records and just skipped them instead of running into an error or your database didn't return more records maybe because of locking those records or any set restrictions in the possible number of records or any timeouts or something similar.

- Marcus

dapostolopoylos
Creator III
Creator III

Have you tried to execute your query on the database client to see haow many rows are returned?
Otherwise  Marcus proposes seems right to my eyes

Father/Husband/BI Developer
kwnkhn
Contributor
Contributor
Author

Yes, on database client, it returns all rows.

kwnkhn
Contributor
Contributor
Author

Checking on this...