Unix Technical Forum

query to return table structure

This is a discussion on query to return table structure within the Informix forums, part of the Database Server Software category; --> hi, Is there any command or query that returns the table structure informix. like the DESC command that works ...


Go Back   Unix Technical Forum > Database Server Software > Informix

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-19-2008, 06:47 PM
fxthomas
 
Posts: n/a
Default query to return table structure


hi,



Is there any command or query that returns the table structure

informix.





like the DESC command that works in Oracle.


--
Posted via http://dbforums.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-19-2008, 06:47 PM
John Carlson
 
Posts: n/a
Default Re: query to return table structure

On Wed, 17 Sep 2003 08:28:41 -0400, fxthomas
<member39970@dbforums.com> wrote:

>
>hi,
>
>
>
> Is there any command or query that returns the table structure
>
> informix.
>
>
>
>
>
> like the DESC command that works in Oracle.


run 'dbschema' from the command line . . . .
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-19-2008, 06:47 PM
Jonathan Leffler
 
Posts: n/a
Default Re: query to return table structure

fxthomas wrote:
> Is there any command or query that returns the table structure
> informix. like the DESC command that works in Oracle.



As wel as the DB-Schemea command already mentioned by two people, you
can also use the INFO statement in DB-Access. On average, I prefer
the information from DB-Schema, but both are usable.

--
Jonathan Leffler #include <disclaimer.h>
Email: jleffler@earthlink.net, jleffler@us.ibm.com
Guardian of DBD::Informix v2003.04 -- http://dbi.perl.org/

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:30 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com