MySQL、SQL server 、Oracle數據庫中查詢全部的數據庫,查詢指定數據庫全部表名,查詢全部的字段的名字

MySQL中查詢全部數據庫名和表名html 1.查詢全部數據庫 show databases;sql 2.查詢指定數據庫中全部表名 select table_name from information_schema.tables where table_schema='database_name' and table_type='base table';數據庫 3.查詢指定表中的全部字段名 sel
相關文章
相關標籤/搜索