Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
mohanrajsubrama
Contributor II
Contributor II

Tables names are not consistent

Hi Guys,

How do I handle tables names if its not consistent.

For Ex:

New tables getting generated daily basis with some random Table Name.

How do I handle it in Qlikview.

If its same table name with different months Probably I can append it using variable like +1 to it to get the next month data.

Any ideas or suggestions are appreciated?

Regards,

Mohan...

3 Replies
mohanrajsubrama
Contributor II
Contributor II
Author

Siva ,

Thanks for the Quick response.

The above link helped. But I am trying to bring all the tables listed from particular schema in PostgreSQL .

And apply the script to append one by one .

SQL SELECT DISTINCT "TABLE_NAME"

FROM "INFORMATION_SCHEMA".COLUMNS; (This is for MS SQL Server database)

I am trying to get the same script work for PostgreSQL.I Even tried \dt to get all the tables list for PostgreSQL but it did not work.

Regards,

Mohan

Siva_Sankar
Master II
Master II

Hi Mohan,

The procedure is same, except that for PostgreSQL you need different syntax and you have to refer the link mentioned in the document Load all tables in database dynamically

Capture.JPG