Hi
I know we can truncate a table in DB2 by first creating it with NOT
LOGGED INITIALLY option. and when we need to truncate it, run the
following command
alter table <table name> activate not logged initially with empty table
My question is:
1. Do we have to connect to the database with auto-commit off every
time we have to run this.
If yes, then why?
thanks
I know we can truncate a table in DB2 by first creating it with NOT
LOGGED INITIALLY option. and when we need to truncate it, run the
following command
alter table <table name> activate not logged initially with empty table
My question is:
1. Do we have to connect to the database with auto-commit off every
time we have to run this.
If yes, then why?
thanks
Comment