gollumullog
New Member
Good Day,
I'm having trouble finding a fast and simple way of seeing if a column exists on a Progress Data base.
I can find out if the table exists using:
SELECT DISTINCT tbl FROM sysprogress."SYSTABLES" WHERE UPPER(tbl) = UPPER('TABLE-NAME')
But for some reason I cannot get the query:
SELECT col FROM sysprogress."SYSCOLUMNS" WHERE tbl = "TABLE-NAME" AND col = \"COLUMN-NAME\"
When I do a select * on SYSCOLUMNS I do not see any of the tables I expect to see.
Am I missing some permissions?
Can someone help me?
Cheers
Jason
I'm having trouble finding a fast and simple way of seeing if a column exists on a Progress Data base.
I can find out if the table exists using:
SELECT DISTINCT tbl FROM sysprogress."SYSTABLES" WHERE UPPER(tbl) = UPPER('TABLE-NAME')
But for some reason I cannot get the query:
SELECT col FROM sysprogress."SYSCOLUMNS" WHERE tbl = "TABLE-NAME" AND col = \"COLUMN-NAME\"
When I do a select * on SYSCOLUMNS I do not see any of the tables I expect to see.
Am I missing some permissions?
Can someone help me?
Cheers
Jason