a guest Nov 9th, 2018 77 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- SELECT update_time FROM information_schema.tables WHERE table_name='yourtablename'
- SELECT table_schema ,
- update_time as LastAccessed
- FROM information_schema.tables
- GROUP BY table_schema
- ORDER BY update_time ASC
- WHERE update_time < 'yyyy-mm-dd'
RAW Paste Data