杂七杂八

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

 

1、oracle下:select table_name from all_tables;
2、MySQL下:select table_name from information_schema.tables ;
3、sql server下:select name from sys.tables go

  

posted @ 2019-05-10 16:01  苏su  阅读(91)  评论(0编辑  收藏  举报