22 June,2012 by Tom Collins
I was reviewing some DB2 DBA scripts and noticed the usage of the old-school TRUNCATE method.
ALTER TABLE schema.table_name activate not logged initially with empty table
Since DB2 9.7 – there is now the TRUNCATE TABLE command.
TRUNCATE TABLE WHLOGS IGNORE DELETE TRIGGERS DROP STORAGE IMMEDIATE
This is only a preview. Your comment has not yet been posted.
As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.
Having trouble reading this image? View an alternate.
Posted by: |