Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

SSIS: how Rollback for Oracle Db

$
0
0

hi all, I have an issue with my SSIS interface. I'd need to rollBack several insert made inside different dataflow. 

if one of the dataflow task fails all the other have to rollback. 

my try:

1 create a Execute SQL task with the statement "Begin, commit, rollback Transaction;"

error i got:

Error: 0xC002F210 at Begin, Execute SQL Task: Executing the query "BEGIN TRANSACTION;" failed with the following error: "ORA-06550: line 1, column 18:
PLS-00103: Encountered the symbol "end-of-file" when expecting one of the following:

   ( begin case declare end exception exit for goto if loop mod
   null pragma raise return select update while with
   <an identifier> <a double-quoted delimited-identifier>
   <a bind variable> << continue close current delete fetch lock
   insert open rollback savepoint set sql execute commit forall
   merge pipe purge". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.

AND

2 i played with the transaction option at Sequence container level and at Dataflow level 

I have used Sequence container and set its Transaction Option property to Required.

And all containers in Sequence container are set to Supported, except for Truncate Execute Sql Task

Error i got

The SSIS Runtime has failed to enlist the OLE DB connection in a distributed transaction with error 0x8004D00A "Unable to enlist in the transaction.".

PLEASE CAN ANYONE HELP WITH THIS 


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>