Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

lakwinder
Contributor III

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
quickqlik
New Contributor III

Re: Store QVD in folder


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)

lakwinder
Contributor III

Re: Store QVD in folder

Where will the connection string go?

balrajahlawat
Esteemed Contributor

Re: Store QVD in folder

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

lakwinder
Contributor III

Re: Store QVD in folder

No just the table/data.

balrajahlawat
Esteemed Contributor

Re: Store QVD in folder

then try what Guohao suggested...

Is it not working?

lakwinder
Contributor III

Re: Store QVD in folder

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

reddys310
Honored Contributor II

Re: Store QVD in folder

Hi Lak,

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

balrajahlawat
Esteemed Contributor

Re: Store QVD in folder

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;

lakwinder
Contributor III

Re: Store QVD in folder

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

Community Browser