Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Peony
Creator III
Creator III

To get tables list before tables load

Hi.

Is there any possibility to get  tables names list from the document before tables will bee loaded?

Usually, to get table list I will do somethig like that in the load script:

Table1:
Load * From Table 1;

Table2:
Load * From Table 2;
...

TableN:
Load * From TableN;

For i = 0 to NoOfTables() - 1Tables:
Load
TableName($(i)) as [Table name]
Autogenerate 1;

Next i;

And as the result I will get a liast of table names:

Table name
Table1
Table2
...
TableN

But if it was possible to get such list without tables full load. 

1 Solution

Accepted Solutions
miskinmaz
Creator III
Creator III

If from qvd then you can try to use filelist and filename function  of qlikview. Filelist helps you to get all the files from a directory and filename return the name of the file in that particular directory.

Whereas in SQL system tables stores all the information related to a schema, so can try to use those system table to get the names of tables 

View solution in original post

4 Replies
miskinmaz
Creator III
Creator III

It depends from where you are pulling the table. Can you specify the source.

Peony
Creator III
Creator III
Author

Loading from qvd and/or sql.

miskinmaz
Creator III
Creator III

If from qvd then you can try to use filelist and filename function  of qlikview. Filelist helps you to get all the files from a directory and filename return the name of the file in that particular directory.

Whereas in SQL system tables stores all the information related to a schema, so can try to use those system table to get the names of tables 

Peony
Creator III
Creator III
Author

Usefull advice. Thank you much.