Hi Jim,
If you have a rollback in your stored procedure you would need a begintrans
also.
I really don't see having begintrans somewhere and rollback elsewhere.
It is a bad practice unless I am missing something.
--
Miha Markic [MVP C#] - RightHand .NET consulting & development
www.rthand.com
SLODUG - Slovene Developer Users Group
www.codezone-si.info
"Jim Heavey" <(E-Mail Removed)> wrote in message
news:952C3345-E03B-4E85-B600-(E-Mail Removed)...
> If you call a stored procedure which is an update procedure, is it
> autocommitted by default?
>
> Is the same true for an Oracle Stored procedure?
>
> If you call an Oracle Stored procedure with the defaults for the
> connection,
> and the stored procedure has a rollback, I am getting an error which
> indicates that I can not do a rollback on a distributed transaction. How
> can
> I call a stored Oracle Procedure and be able to issue a rollback within
> the
> stored procedure without getting and error in ADO.Net when I do this?