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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

how to list columns from table

Hi,
I have requirement to list columns from table. Currently i am using tJDBCColumnList(DB Type : Postgresql) but it is not giving correct result.
For other DB Types its working well. Can you please help me with any other descriptor.


Regards
Prasoon

Labels (2)
1 Reply
vapukov
Master II
Master II

depending from what You really need, You always can request it self from database
for postgresql it will be :

SELECT 
"column_name", 
"udt_name"
FROM information_schema.columns
WHERE table_schema = 'your_schema'
  AND table_name   = 'your_table'

component - tPostgresqlRow
You can add some other columns if You need