テーブル名一覧取得

sqlserver

select name from sysobjects where xtype = ‘U’;

ちなみに
Oracle

select * from all_objects where object_type=’TABLE’;

MySQL

show tables;

PostgreSQL

select * from pg_tables where not tablename like ‘pg%’ order by tablename;

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です