2019-08-30-mysql exported to Excel table structure table

 

- query the contents of the structure of all tables in the table

The SELECT
    table_name table,
    column_name column name,
  the DATA_TYPE field type,  
  CHARACTER_MAXIMUM_LENGTH length,
  IS_NULLABLE if required,
  the COLUMN_DEFAULT described in
the FROM
 INFORMATION_SCHEMA.COLUMNS
WHERE
table_name in
(
table name 1 ',
table name 2'
)

Guess you like

Origin www.cnblogs.com/wbly2019/p/11433134.html