Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Table sizes in MS SQL

Hi,

Anybody who has an idea of how use QlikView to actually extract database/table systems/size information from an SQL server.

I am thinking of something like:

SELECT sp_msforeachtable 'exec sp_spaceused [?] ';

But QlikView considers that the latter part is garbage, which I could agree on.

I cannot get a good result in MS SQL Server Management Tool as I have 100+ tables.

(If any have developed a script that actually brings out both sizes, rows and even field names that would of course be even better...)

Kind regards

Niklas Hedborg

1 Reply
Anonymous
Not applicable
Author

I actually found the answer to the latter part regarding field (or column) names:

SQLTABLES;

SQLCOLUMNS;

Fantastic.