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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

describe table

Status
Not open for further replies.

shaoji

Programmer
Mar 22, 2004
10
US
Hi,
A basic question: what command should I use look the elements and their format in a table? what command should i use to check what tables there are in a database?
Thanks.
Shaoji
 
help database mydb; -> all objects within a DB
help table/view/macro/procedure xxx -> column/parameter info

For a view it might be better to use
help column myview.*;

show table/view/macro/procedure xxx; -> create statement

Check the "SQL Reference Data Definition Statements" manual, "Chapter 4:
SQL Help and Database Object Definition
Tools: HELP and SHOW"

Dieter
 
Dieter,
Thank you very much for your help.
Shaoji
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top