4

I want to remove the auto appearing BEGIN TRAN and ROLLBACK in SQL Server 2008 R2.

Here is the following image which I am getting while selecting New Query to write.

enter image description here

2 Answers 2

8

Do you have "SSMS Tools Pack" installed ?

at some times that the "New Query Template" option had somehow been enable and configured.

I think if you disabled it then this should have been removed

1
  • Exactly! Thank you so much. I got it.
    – MAK
    Commented Apr 23, 2015 at 4:54
4

It's likely because you have SSMS tools installed.

SSMS Tools > New Query Template > Options > Disable

From SSMS Tools site: http://www.ssmstoolspack.com/Features?f=13

Props: http://www.sqlservercentral.com/Forums/Topic1206272-391-1.aspx

1
  • 2
    Thank you so much. But unfortunately I need to accept the answer which comes first and too correct. But +1 for sure.
    – MAK
    Commented Apr 23, 2015 at 4:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.