fix MARS error in Sqlsrv transaction

when use sqlsrv in transaction it will through a MARS error.
this is a solution to fix it.