How can I fix the T-SQL editor in VS 2012 after installing SQL Server 2012 SP1?

前端 未结 3 377
闹比i
闹比i 2021-01-01 09:56

I can suddenly no longer open .sql files in VS 2012 by simply double clicking in the Solution Explorer. I get the error message:

Unable to open Transa

相关标签:
3条回答
  • 2021-01-01 10:36

    Yes, yet another bug in SQL Server 2012 roll eyes

    Right click on the SQL file and choose "Open With...". Choose "Source Code (Text) Editor" and choose "Set as Default".

    Now it works again.

    0 讨论(0)
  • 2021-01-01 10:41

    Installing the SQL Server Data Tools - November 2012 update fixed the SQL editor. All is good in the world again.

    0 讨论(0)
  • 2021-01-01 10:45

    Almost a year later, but I found the answer from joerage to be more helpful.

    Default to the T-SQL Pane view within Visual Studio 2012 Database Project

    0 讨论(0)
提交回复
热议问题