嗨,這裏我的興趣是獲取所有在特定日期創建的表,無論何時創建它爲了創建表的列表的時間我曾嘗試:查詢獲取在特定日期創建的表
select table_name,create_time
from information_schema.tables
where table_schema='database_name'
和我有結果作爲
| Table_name | 2012-09-13 03:09:50 |
| Table_name | 2012-10-01 08:05:41 |
| Table_name | 2012-10-01 08:05:41 |
| temp | 2011-05-25 03:05:50 |
現在我需要得到這個我已經試過這是在2012-10-01創建表:
select table_name,create_time
from information_schema.tables
where table_schema='database_name' and create_time='2012-10-01'
我得到結果Empty set (5.09 sec)
。
這裏我需要得到所有在2012年10月1日創建的表格,無論時間如何。
容易理解thanx –