Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Announcements
Modernize Your QlikView Deployment webinar, Nov. 3rd. REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Master II
Master II

What is StoreAndDrop

Hi All,

I have the following script.

What does this mean?

EMP:

Load ENAME,

     EMPNO,

     SAL

SQL SELECT * FROM EMP;

Call StoreAndDrop('EMP');

Thanks in advance.

1 Solution

Accepted Solutions
Highlighted
Champion III
Champion III

Hi

Actually we can use STORE  for creating Qvd's.and storing in perticular path dat path is knwn as qvd path.

after creating that automatically we use drop command to drop the table. i.e(.EMP).

Thank you

Suresh

View solution in original post

4 Replies
Highlighted
Champion III
Champion III

Hi

Actually we can use STORE  for creating Qvd's.and storing in perticular path dat path is knwn as qvd path.

after creating that automatically we use drop command to drop the table. i.e(.EMP).

Thank you

Suresh

View solution in original post

Highlighted
Master II
Master II

Hi sureshqv,

Thank you.

Highlighted
MVP & Luminary
MVP & Luminary

Hi,

  1. EMP: 
  2. Load ENAME, 
  3.      EMPNO, 
  4.      SAL 
  5.  
  6. SQL SELECT * FROM EMP; 
  7. Call StoreAndDrop('EMP'); 

StoreAndDrop() is a custom created macro function which performs the passed parameter table into a QVD and then it drops that table.


Instead of manually writing the STORE and DROP statements everywhere this macro is been used.


Regards,

jagan.

Highlighted
MVP & Luminary
MVP & Luminary

Hi,

You can check this link for sample macro and its usage in the script.

Calling VB function (macro) in Load script to find common string length in two strings

Hope it helps you.

Regards,

jagan.