A SQLCMD question

  • If a sql file does not has a corresponding commit/rollback transaction against a Begin Tran ... and is executed through sqlcmd than what will be the transaction state....??

    Regards,
    [font="Verdana"]Sqlfrenzy[/font]

  • The transaction will remain open as long as the connection is open. If you close the connection without issuing a commit, the transaction will be rolled back.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply