Getting the date/time of the last change to a MySQL database

前端 未结 4 1472
花落未央
花落未央 2021-02-07 16:21

I\'m working with MySQL and I would like to get the date/time of the very last change to any table within a database. Each of my tables has an auto updating \'*_modified\' time

4条回答
  •  粉色の甜心
    2021-02-07 16:52

    SELECT update_time
    FROM   information_schema.tables
    WHERE  table_schema = 'dbName'
           AND table_name = 'tableName'
    

提交回复
热议问题