2007-11-02から1日間の記事一覧
よく使うRDBMSでテーブル名一覧を表示するクエリです。 いつもどうだったか悩むのでメモ。 [MySQL] show tables; [PostgreSQL] select tablename from pg_tables; [Oracle] select table_name from user_tables; [SQLite] select name from sqlite_master wh…
よく使うRDBMSでテーブル名一覧を表示するクエリです。 いつもどうだったか悩むのでメモ。 [MySQL] show tables; [PostgreSQL] select tablename from pg_tables; [Oracle] select table_name from user_tables; [SQLite] select name from sqlite_master wh…