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

Using .HANG command with DROP statement in the same line is not working - topic by terankit

$
0
0
Hi Ulrich/Dieter, I am using the below query to create DROP statement and HANG statement after every 25 DROP statements. SELECT DISTINCT 'DROP TABLE DB.' || TABLENAME || ' ;'    || CASE WHEN ROW_NUMBER() OVER (ORDER BY TABLENAME) MOD 25 = 0 THEN '.HANG 10;' ELSE ' ' END                      FROM DBC.TABLES        Issues:

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>