当前位置:Gxlcms > 数据库问题 > 转:怎么用Sql语句获取一个数据库中的所有表的名字

转:怎么用Sql语句获取一个数据库中的所有表的名字

时间:2021-07-01 10:21:17 帮助过:3人阅读

用sql获取数据库中所有的表名的方法:
1、oracle下:select table_name from all_tables;
2、MySQL下:select table_name from information_schema.tables where table_schema=‘csdb‘ and table_type=‘base table‘;
3、sql server下:select name from sys.tables go

转:怎么用Sql语句获取一个数据库中的所有表的名字

标签:amp   class   数据库   targe   bsp   info   mysq   orm   ida   

人气教程排行