LoginSignup
124

More than 3 years have passed since last update.

MySQLで指定されたカラム名を持つテーブルを検索する

Last updated at Posted at 2014-11-11

調べることになったので備忘録

MySQLにログインし、以下のSQLを実行する

select table_name, column_name from information_schema.columns where column_name = '検索したいカラム名' and table_schema = '検索対象のデータベース名';

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
124