Involved in a transaction?

Is there a way to determine if a connection object has already started a transaction, or if a transaction is currently open? Code Please.
timpetersAsked:
Who is Participating?
 
karlwwConnect With a Mentor Commented:
If you are using ADO, BeginTrans returns the nesting level.  So BeginTrans with no previous transactions pending gives 1 (top level).
0
 
timpetersAuthor Commented:
Thanks.
0
All Courses

From novice to tech pro — start learning today.