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

Purge the work tables cretaed a month before and create report with the list of work tables created last month - topic by terankit

$
0
0
Hi All,   I need to purge work tables which were created a month before. I am using the below query to extract the list of all such tables: SELECT DISTINCT 'DROP TABLE DB1.' || B.TABLENAME || ' ;' FROM dbc.tables WHERE tablekind = 'T' AND databasename = 'DB1' AND TRIM(tablename) LIKE any

read more


Viewing all articles
Browse latest Browse all 27759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>