Hi here my interest is to get all the tables which are created on a particular date irrespective of time when it has been created for this in order to get created time for the list of tables I have tried:
select table_name,create_time
from information_schema.tables
where table_schema='database_name'
and I have got the result as
| 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 |
Now I need to get the tables which are created on 2012-10-01 for this I have tried:
select table_name,create_time
from information_schema.tables
where table_schema='database_name' and create_time='2012-10-01'
and I am getting the result Empty set (5.09 sec).
Here I need to get all the tables which are created on 2012-10-01 irrespective of time.
1 Answer