How to get table schema from Progress database via odbc

NotMe picture NotMe · Apr 9, 2010 · Viewed 20.1k times · Source

I have a linked server set up between sql 2008 and a Progress OpenEdge 10.1b server.

How do I get the table schemas?

Answer

ksimon picture ksimon · Feb 1, 2011

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