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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Database to QVD using SQL?

I'm wanting to be able to run a SQL statement against an ODBC connection to bring back data that I can then put into some QVD files.

I have been trying to do it like this so far:

TABLENAME:

SQL statement............

and then:

STORE TABLENAME INTO filelocation

What is the correct way of doing this? Any help much appreciated

1 Solution

Accepted Solutions
petter
Partner - Champion III
Partner - Champion III

The simplest form of load script is like this:

[TABLENAME]:

SQL

     SELECT * FROM myTable;

STORE [TABLENAME] INTO "C:\USERS\yourID\Documents\TABLENAME.QVD" (QVD);

View solution in original post

1 Reply
petter
Partner - Champion III
Partner - Champion III

The simplest form of load script is like this:

[TABLENAME]:

SQL

     SELECT * FROM myTable;

STORE [TABLENAME] INTO "C:\USERS\yourID\Documents\TABLENAME.QVD" (QVD);