1

には2つのスキームがありますmy_db。のすべてのテーブルの名前を表示する必要がありますscheme_one。どうやってするか?

4

1 に答える 1

2

次のように、PostgreSQLの情報スキーマを使用できます。

select table_name from information_schema.tables where table_schema = 'scheme_one';
于 2012-04-20T06:26:15.743 に答える