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

How to store downloaded ODBC data

Hi to all,

I 'm connecting to an ODBC server to download data, I would like to know if there is a way to save the downloaded data in a local file in order to modify fields name without re-connecting to the server every time I modify something in the script.

Thanks


Francesco

1 Solution

Accepted Solutions
Miguel_Angel_Baeyens

Hi Francesco,

That's what QVD are for, among many other things. Take a look at the following script:

SET vQVDPath = 'C:\TempFiles\';

ODBC CONNECT64 TO [DSNNameHere];

Table:

LOAD *;

SQL SELECT *

FROM Customers;

STORE Table INTO $(vQVDPath)Customers.qvd (qvd); // this will allow you to load from this file later on

Hope that helps.

Miguel

View solution in original post

1 Reply
Miguel_Angel_Baeyens

Hi Francesco,

That's what QVD are for, among many other things. Take a look at the following script:

SET vQVDPath = 'C:\TempFiles\';

ODBC CONNECT64 TO [DSNNameHere];

Table:

LOAD *;

SQL SELECT *

FROM Customers;

STORE Table INTO $(vQVDPath)Customers.qvd (qvd); // this will allow you to load from this file later on

Hope that helps.

Miguel