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

How to Delete all objects in a particular database? - topic by usmans

$
0
0
I understand that before you can drop any database you have to delete all the objects it contains. I used the "help database database_name" command and it showed me that my particular database had 61 tables, views and macros. I confirmed this by checking from Teradata Administrator. My question is this, how can you delete all the objects in a particular database without having to write the delete command for every object? Is there any SQL statement or dynamic SQL statement that will do this for me?  

Viewing all articles
Browse latest Browse all 27759

Trending Articles



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