查看錶信息

查看錶信息
select table_name, table_comment, create_time, update_time from information_schema.tables where table_comment <> '' and table_schema = (select database()) and table_name = 'sys_dept' ;orm

select table_name tableName, engine, table_comment tableComment, create_time createTime from information_schema.tables
where table_schema = (select database()) and table_name = 'sys_dept' ;it

select column_name, data_type, column_comment from information_schema.columns where table_name = 'sys_dept'  and table_schema = (select database()) order by ordinal_position  ;io

相關文章
相關標籤/搜索