2010-04-09 75 views

回答

13

你可以得到所有可用的表:

select * from sysprogress.SYSTABLES; 

select * from sysprogress.SYSTABLES_FULL; 

你可以得到指定表中的所有列:

select * from sysprogress.SYSCOLUMNS where TBL = 'table_name'; 

select * from sysprogress.SYSCOLUMNS_FULL where TBL = 'table_name'; 

它仅适用于DBA特权用户。

更详细的OpenEdge产品文档:https://community.progress.com/community_groups/openedge_general/w/openedgegeneral/1329.openedge-product-documentation-overview

文件标题:SQL参考

章:OpenEdge SQL系统目录表

1

你可以做如下语句

SELECT * FROM LinkedProgressOpenedgeServer.YourDatabase.Owner.TableName WHERE 1=2

这应该只返回架构没有任何数据。

0

通常默认的模式名是PUB。你可以尝试使用PUB模式。

相关问题