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 - response (3) by dnoeth

$
0
0
Those options should work: .export data file = xxx .recordmode off .foldline all And split the string in two columns: SELECT    'DROP TABLE DB.' || TABLENAME || ' ;',       CASE WHEN ROW_NUMBER() OVER (ORDER BY TABLENAME) MOD 25 = 0    THEN '.HANG 10;' ELSE ' ' END                      FROM DBC.TABLES Dieter  

Viewing all articles
Browse latest Browse all 27759

Trending Articles



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