If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > List of tables in a specific database via SMI table query?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-27-03, 16:24
jenifer jenifer is offline
Registered User
 
Join Date: Jun 2003
Posts: 12
Question List of tables in a specific database via SMI table query?

I would like to be able to query for all tables in a specific database (excluding the system tables). How do I go about doing that? The query "select tabname from systables" give all of the tables. What I want is the same table names list/results as I would get if I were to do a dbschema or dbexport.

Is this possible?? On IDS 9.21.UC3.

Thanks so much...
Reply With Quote
  #2 (permalink)  
Old 06-30-03, 07:23
rajesh_voc rajesh_voc is offline
Registered User
 
Join Date: Jun 2003
Posts: 3
Thumbs up

Try this query;
select tabname from systables where tabid > 99;
Above query gives all Your application tables (ie) other than systables
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On