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

Delete or Drop a table if it already exists - response (11) by DataHead

$
0
0
Thanks Dieter, Do you mean you've posted the code to the the link? The link isn't working. So here's your code from a couple of answers ago. select 1 from dbc.TablesV where databasename = 'C917348' a nd TableName = 'ACCT_BASE'; .if activitycount = 0 then GoTo ok drop table ACCT_BASE; .label ok create table ACCT_BASE(....)What do I need to add where to get it to work?   Thanks Peter  

Viewing all articles
Browse latest Browse all 27759

Trending Articles



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