2

I tried many queries like using this

SELECT TABNAME,COLNAME from SYSCAT.COLUMNS where TABNAME='DETAILS'

Also used user_tabs in place of SYSCAT.COLUMNS as well, but it does not work in informix.

2
  • 2
    Not sure I understand, are you asking about finding schema information? Table names and column names? This old post might help Commented May 6, 2013 at 2:06
  • what is your expected result? Commented May 10, 2013 at 7:05

1 Answer 1

2

Informix does not install the Information Schema tables necessary to support your query; indeed it does not use the schema name ('owner' in Informix parlance) of SYSCAT when it does have (the very old version of) the Information Schema installed.

There's a file $INFORMIXDIR/etc/xpg4_is.sql that you can run for a given database that will install tables informix.TABLES and informix.COLUMNS but not a table user_tabs.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.