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!

Retrieve column type for existing column?

Status
Not open for further replies.

MatthewP

Programmer
Jan 16, 2001
176
GB
This has to be an easy thing to do but I can't find the answer anywhere. I need to know what column type an existing table column is - how can I retrieve this information?

Thanks,
matt.
 
maybe I don't understand the question but... try.

mysql> explain myTable;

it'll show you the layout.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top