hi
I'm trying to create a DTS package which on failure will roll back the transaction.
I have the following
BEGIN TRANSACTION
TRUNCATE TABLE mytable
(here is a data pump into a new table)
COMMIT TRANSACTION
The process does not seem to do anything. Does not fail or succeed just hang. Is my thoughts correct that this statement can be used within a DTS package?
I'm trying to create a DTS package which on failure will roll back the transaction.
I have the following
BEGIN TRANSACTION
TRUNCATE TABLE mytable
(here is a data pump into a new table)
COMMIT TRANSACTION
The process does not seem to do anything. Does not fail or succeed just hang. Is my thoughts correct that this statement can be used within a DTS package?