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

Displaying a Table Structure Message

Status
Not open for further replies.

gust1480

Programmer
Mar 19, 2002
148
PH
Can somebody show me how to display the structure of a certain table using SQL script because I would like to view a certain field (its data type, length)in my table. Thanks.
 
select * from INFORMATION_SCHEMA.COLUMNS where TABLE_NAME = 'yourTableName'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top