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

Query to get Column Name and data type? 2

Status
Not open for further replies.

soundmind

Technical User
Jun 30, 2003
16
US
Hi Y'all

Is there a mySQL query or way to retrieve a table's column names and their data type?

Thank you!
 
DESC `tablename`;
or
DESCRIBE `tablename`;
 
It was... :)
Sorry, I missed your post there....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top