Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Table Descriptions

Status
Not open for further replies.

TheMus

Technical User
Aug 23, 2000
28
US
How can I get the layout of a table to display? I've used DRAW but that only shows the fields. I'm looking for fields, data type and length.

Thanks in advance,

Rus
 
Check out the describe table syntax for your environment. In UNIX it looks like this:

$ db2 describe table MY.TABLE

This will give you the info you need.



Christopher Devenny
c_devenny@yahoo.com

 
Rus,
What platform are you on? If it's as/400, you should be able to do DSPFFD, this will give you all the info you need. I'm not sure if this command is valid for sql created tables...
--Jim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top