Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

Find new tables created in last month - topic by teradatauser2

$
0
0
Hi, I have a requirement to find out "new" tables that we created in one DB-say abc, in last one month. I querried dbc.tables and listed down the tables based on createtimestamp field that are in DB-abc. Now, i have some tables that were already existed and they were dropped and recreated as there were some changes in the DDL of these table. Those table also have a create time stamp of last month. They too are being counted in my previous approach. Is there a way to filter such tables and get only the tables that we created new and they never existed.

read more


Viewing all articles
Browse latest Browse all 27759

Trending Articles