获取当前使用的数据库名称 select database(); 获取表完整结构 select table_schema,table_name,column_name,column_type,column_key,is_nullable,column_default,column_comment,character_set_name from information_schema.columns where table_schema='库名' and table_name='表明';
mysql 获取当前使用的数据库名称 及 表结构
最新推荐文章于 2023-03-21 10:31:16 发布