Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我尝试了很多查询,比如使用这个
SELECT TABNAME,COLNAME from SYSCAT.COLUMNS where TABNAME='DETAILS'
也用于user_tabs代替SYSCAT.COLUMNSas well,但在 informix 中不起作用。
user_tabs
SYSCAT.COLUMNS
Informix 不安装支持您的查询所需的信息模式表;SYSCAT事实上,当它确实安装了信息模式(非常旧的版本)时,它并没有使用模式名称(Informix 用语中的“所有者”) 。
SYSCAT
$INFORMIXDIR/etc/xpg4_is.sql您可以为给定的数据库运行一个文件,该文件将安装表informix.TABLES而informix.COLUMNS不是表user_tabs。
$INFORMIXDIR/etc/xpg4_is.sql
informix.TABLES
informix.COLUMNS