テーブルが存在しているか確認するSQLです。
PostgreSQL/Redshift
SELECT * FROM information_schema.tables WHERE table_name = 'table_name';
Oracle
SELECT owner,table_name FROM dba_tables WHERE table_name = 'table_name';
Go to list of users who liked
More than 5 years have passed since last update.
テーブルが存在しているか確認するSQLです。
PostgreSQL/Redshift
SELECT * FROM information_schema.tables WHERE table_name = 'table_name';
Oracle
SELECT owner,table_name FROM dba_tables WHERE table_name = 'table_name';
Register as a new user and use Qiita more conveniently
Go to list of users who liked