I want to get the column data type of a mysql table.
Thought I could use MYSQLFIELD structure but it was enumerated field types.
MYSQLFIELD
Then I tried wi
Refer this link
mysql> SHOW COLUMNS FROM mytable FROM mydb; mysql> SHOW COLUMNS FROM mydb.mytable;
Hope this may help you