Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Store QVD in folder

Hi Guys,

What's the correct syntax for storing qvd's?

The folder i've created on the right in Data Editor is called QVD_FOLDER the actual folder on the server is called QVD, what am i doing wrong in the store syntax.

Thanks Guys

LIB CONNECT TO 'XXX.HOST.NAME.com (user_e111)';

SEGMENTS:

load *;

sql select *

FROM Warehouse.dbo."SEGMENT";

STORE SEGMENTS INTO [lib://QVD_FOLDER/SEGMENT.qvd](qvd);  // with folder created in Data Editor name QVD_FOLDER

or

STORE SEGMENTS INTO [lib://QVD/SEGMENT.qvd](qvd);  // with server folder name QVD

15 Replies
Anonymous
Not applicable
Author


STORE SEGMENTS INTO [lib://QVD_FOLDER/SEGMENT.qvd](qvd);  // with folder created in Data Editor name QVD_FOLDER


seems correct. you can try putting the connection string in ''.

i.e. 'lib://QVD_FOLDER/SEGMENT.qvd' (qvd)

Anonymous
Not applicable
Author

Where will the connection string go?

Anonymous
Not applicable
Author

do you want to store connection string as well in QVD ??

Anonymous
Not applicable
Author

No just the table/data.

Anonymous
Not applicable
Author

then try what Guohao suggested...

Is it not working?

Anonymous
Not applicable
Author

Try putting the connection string - you mean the connection string for the QVD_FOLDER? where do i put the connection string?

reddy-s
Master II
Master II

Hi Lak,

The second one's right. You need to give the name of the connection  you created.

Anonymous
Not applicable
Author

Is this you are asking?

in the script..

Step1)

Connection string on the top..............like connect to(Connection String Paramneter after connection)

Step2) Fetch the table

Tres:

load * from Databasename.Tablename;

Step 3) create a QVD

store Tres INTO [lib://QVD_FOLDER/SEGMENT.qvd](qvd);

Step4) Drop the table

drop table Tres;

Anonymous
Not applicable
Author

Step 1 - Connection string for the server or connection string for the folder