Mysql中返回一个数据库的所有表名列名数据类型备注
desc 表名; show columns from 表名; describe 表名; show create table 表名; use information_schema select * from columns where table_name=’表名’; 顺便记下: show databases; 也可以这样 use information_schema select table_schema,table_name from tables where table_schema=’数据库名’ use 数据库名; show tables; 原有一unique索引AK_PAS_Name(
下载地址
用户评论