You have to create the table using the "not logged initially" option. Prior to running the delete and within the same commit scope, you must alter the table to activate the "no logging" option followed immediately by the delete option. OR, you can load the table with the "not logged" option using /dev/null to clear out the table. -----Original Message----- From: Doug Carter [mailto:[EMAIL PROTECTED]] Sent: Monday, June 11, 2001 2:10 PM To: [EMAIL PROTECTED] Subject: DB2EUG: Delete witout logging In Oracle and SQL Server there is a command called "TRUNCAT <tablename>". This command deletes all the contents in the specified table without logging. You won't be able to roll back the delete, but the delete will execute much faster since there is no logging. Is there an equivalent option in DB2? TIA, Doug Carter ===== To unsubscribe, send 'unsubscribe' to [EMAIL PROTECTED] For other info (and scripts), see http://people.mn.mediaone.net/scottrmcleod ===== To unsubscribe, send 'unsubscribe' to [EMAIL PROTECTED] For other info (and scripts), see http://people.mn.mediaone.net/scottrmcleod
RE: DB2EUG: Delete witout logging
Goldberg, Howard (USPC.PCT.Hopewell) Mon, 11 Jun 2001 15:57:04 -0700
- DB2EUG: Delete witout logging Doug Carter
- Re: DB2EUG: Delete witout loggin... Steve Mazer
- Re: DB2EUG: Delete witout loggin... Vijay Kartik
- Re: DB2EUG: Delete witout loggin... Roy
- Re: DB2EUG: Delete witout loggin... Ian D. Bjorhovde
- RE: DB2EUG: Delete witout loggin... Goldberg, Howard (USPC.PCT.Hopewell)
- RE: DB2EUG: Delete witout loggin... Philip Gunning
- RE: DB2EUG: Delete witout loggin... Lewis, Bob
- Re: DB2EUG: Delete witout loggin... creid
