时间:2021-07-01 10:21:17 帮助过:11人阅读
MySQL获取Schema表名和字段信息
获取表名
select TABLE_NAME,TABLE_TYPE,ENGINE,TABLE_ROWS,TABLE_COMMENT,CREATE_TIME,UPDATE_TIME, CHECK_TIME from information_schema.TABLES where TABLE_SCHEMA=‘t_shop‘ ;
获取字段名
select COLUMN_NAME,DATA_TYPE,CHARACTER_MAXIMUM_LENGTH,IS_NULLABLE,COLUMN_COMMENT from information_schema.COLUMNS where TABLE_NAME=‘ibt_mem_member‘ ;
MySQL获取Schema表名和字段信息
标签:word class href cte ati pos gravity get schema