LoginSignup
2
0

More than 5 years have passed since last update.

MySQL で直近変更のあったテーブルを確認する

Posted at
SELECT
  TABLE_SCHEMA,
  TABLE_NAME,
  UPDATE_TIME
FROM information_schema.tables
WHERE TABLE_SCHEMA = '{{ database_name }}'
ORDER BY UPDATE_TIME DESC;
  • TABLE_SCHEMA データベースの事

Reference

ベースの SQL を見つけた場所
https://stackoverflow.com/a/307488

2
0
0

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
2
0