pending local transaction

  • Thread starter Thread starter Shawn
  • Start date Start date
S

Shawn

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

thanks,
Shawn
 
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";
 
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

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";
 
Back
Top