MySQLで特定のカラムが存在するか確認する
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
[[MySQL]]
*SQL文 [#n5d3061a]
select table_name from information_schema.columns where ...
*実行例 [#x30fee75]
mysql> select table_name from information_schema.columns...
+--------------+
| table_name |
+--------------+
| columns_priv |
| db |
| procs_priv |
| proxies_priv |
| tables_priv |
| user |
+--------------+
6 rows in set (0.00 sec)
~
~
終了行:
[[MySQL]]
*SQL文 [#n5d3061a]
select table_name from information_schema.columns where ...
*実行例 [#x30fee75]
mysql> select table_name from information_schema.columns...
+--------------+
| table_name |
+--------------+
| columns_priv |
| db |
| procs_priv |
| proxies_priv |
| tables_priv |
| user |
+--------------+
6 rows in set (0.00 sec)
~
~
ページ名: