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:
↧