I have a linked server set up between sql 2008 and a Progress OpenEdge 10.1b server.
How do I get the table schemas?
I have a linked server set up between sql 2008 and a Progress OpenEdge 10.1b server.
How do I get the table schemas?
You can get all available tables:
select * from sysprogress.SYSTABLES;
or
select * from sysprogress.SYSTABLES_FULL;
You can get all columns of specified table:
select * from sysprogress.SYSCOLUMNS where TBL = 'table_name';
or
select * from sysprogress.SYSCOLUMNS_FULL where TBL = 'table_name';
It works only with DBA privileged user.
More detail in OpenEdge Product Documentation: https://community.progress.com/community_groups/openedge_general/w/openedgegeneral/1329.openedge-product-documentation-overview
Document title: SQL Reference
Chapter: OpenEdge SQL System Catalog Tables
You can do a statement like
SELECT * FROM LinkedProgressOpenedgeServer.YourDatabase.Owner.TableName WHERE 1=2
That should return just the schema without any data.
Normally the default schema name is PUB. You can try using PUB schema.
© 2022 - 2024 — McMap. All rights reserved.