Reputation:
I want to retrieve all the table names which were created 1 hour back.
I have written the below query,
select table_name from user_tables where table_name created >= (sysdate-1/24);
But the above query is not displaying any value.
Upvotes: 0
Views: 68
Reputation: 13527
Your syntax is not correct. BTW, You can use USER_OBJECTS instead -
select object_name from user_objects where created >= (sysdate-1/24);
Upvotes: 1