Is there anyway to determine if the OleDbConnection is in a pending local
transaction?

thanks,
Shawn

Re: pending local transaction by Angel

Angel
Thu Sep 25 16:19:55 CDT 2003

You can query the server for this information if the backend you are
connected to supports it.

For Sql Server it would be
sqlcommand1.CommandText = "select @@Trancount";

--
Angel Saenz-Badillos [MS] Managed Providers
This posting is provided "AS IS", with no warranties, and confers no rights.
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.
"Shawn" <bossman100@hotmail.com> wrote in message
news:ehc6INRfDHA.460@TK2MSFTNGP12.phx.gbl...
> Is there anyway to determine if the OleDbConnection is in a pending local
> transaction?
>
> thanks,
> Shawn
>
>



Re: pending local transaction by Shawn

Shawn
Fri Sep 26 08:09:44 CDT 2003

Thanks,
I'm using an Oracle DB.. Will this query return a count of all the pending
local transactions or just for the command object executing the query
(sqlcommand1) ?

Shawn

"Angel Saenz-Badillos[MS]" <angelsa@online.microsoft.com> wrote in message
news:%23henPr6gDHA.2188@TK2MSFTNGP10.phx.gbl...
You can query the server for this information if the backend you are
connected to supports it.

For Sql Server it would be
sqlcommand1.CommandText = "select @@Trancount";

--
Angel Saenz-Badillos [MS] Managed Providers
This posting is provided "AS IS", with no warranties, and confers no rights.
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.
"Shawn" <bossman100@hotmail.com> wrote in message
news:ehc6INRfDHA.460@TK2MSFTNGP12.phx.gbl...
> Is there anyway to determine if the OleDbConnection is in a pending local
> transaction?
>
> thanks,
> Shawn
>
>