时间:2021-07-01 10:21:17 帮助过:25人阅读
MySQL查看表、字段说明
#MySQL查看表、字段说明 mysql> SELECT TABLE_NAME,COLUMN_NAME,COLUMN_TYPE,IS_NULLABLE,COLUMN_KEY,COLUMN_COMMENT FROM( select TABLE_NAME,COLUMN_NAME,ORDINAL_POSITION,COLUMN_TYPE,IS_NULLABLE,COLUMN_KEY,COLUMN_COMMENT from information_schema.columns where TABLE_SCHEMA=‘complaintdb‘ UNION ALL SELECT TABLE_NAME,‘‘,‘‘,‘‘,‘‘,‘‘,TABLE_COMMENT FROM information_schema.tables where TABLE_SCHEMA=‘complaintdb‘ ) a ORDER BY TABLE_NAME,(ORDINAL_POSITION+0);
Win7下SQLServer访问虚拟机上的MySQL
标签:mysq sha form 上下文 provider mit load 连接 info