Answers for "my sql command for showing the column names and datatype"

SQL
1

mysql show column data types

SELECT DATA_TYPE from INFORMATION_SCHEMA.COLUMNS where
table_schema = ’yourDatabaseName’ and table_name = ’yourTableName’.
Posted by: Guest on September-29-2020
2

get the mysql table columns data type mysql

SHOW COLUMNS FROM mydb.mytable;
Posted by: Guest on April-16-2020

Code answers related to "my sql command for showing the column names and datatype"

Code answers related to "SQL"

Browse Popular Code Answers by Language