postgressql下
'検索スキーマの中で、全てテーブル
select tablename from pg_tables where schemaname='test'

mysql下
'検索スキーマの中で、全てテーブル
select table_name from information_schema.tables where table_schema='csdb'

 

 postgressql,mysql都可以
'テーブルの定義情報
select * from information_schema.columns where TABLE_SCHEMA='test';

相关文章:

  • 2021-08-25
  • 2022-03-03
  • 2022-02-23
  • 2021-09-12
  • 2022-12-23
  • 2022-01-08
猜你喜欢
  • 2022-12-23
  • 2021-10-18
  • 2021-12-31
  • 2022-12-23
  • 2021-09-06
  • 2021-11-16
  • 2021-07-25
相关资源
相似解决方案