(Cluster environments only) Determines whether or not a connection can process an external transaction.
xact_connmigrate_check(“txn_name”)
select xact_connmigrate_check("txn_name")
-------- 1
select xact_connmigrate_check("txn_name")
-------- 1
select xact_connmigrate_check("txn_name")
-------- 0
1 if the connection is to the instance running the specified transaction, or the connection is to another instance in a migratable state
0 if the connection or transaction ID does not exist, or the connection is to another instance that is not in a migratable state
1 if the connection is in a migratable state
0 if the connection does not exist or is not in a migratable state
ANSI SQL – Compliance level: Transact-SQL extension.
Any user can execute xact_connmigrate_check.