Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
この投稿は優れており、最後にテーブル がいつ変更されたかを示しています。MySQL テーブルが最後に更新されたのはいつですか?
しかし、複数の変更があったため、過去 24 時間の変更と時間を調べる必要があります
次のように試すことができます:
SELECT * FROM information_schema.tables WHERE UPDATE_TIME >= DATE_SUB(CURDATE(), INTERVAL 1 DAY)
または、
SELECT * FROM information_schema.tables WHERE UPDATE_TIME >= SYSDATE() - INTERVAL 1 DAY