Skip to content

Instantly share code, notes, and snippets.

@stefanwalther
Last active September 10, 2019 17:32
Show Gist options
  • Save stefanwalther/7897795 to your computer and use it in GitHub Desktop.
Save stefanwalther/7897795 to your computer and use it in GitHub Desktop.
QlikView Script: Save all tables to QVD files.
// '.\' is the current path
// Define the path here, if required ...
SET basePath = '.\';
TRACE ---------------------------------------------------------------;
TRACE Saving tables ... ;
TRACE ~~;
For i = 0 To NoOfTables() -1
LET vTableName = TableName(i);
TRACE Saving table "$(vTableName)";
STORE [$(vTableName)] INTO $(basePath)\$(vTableName).qvd (qvd);
Next // Table Loop
TRACE ~~;
TRACE Finished saving tables ...;
TRACE ---------------------------------------------------------------;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment