Is there a way to have SQL server validate object references in Stored Procs?

后端 未结 7 2155
半阙折子戏
半阙折子戏 2021-01-13 20:12

The following code executes fine in SQL Server

create proc IamBrokenAndDontKnowIt as
select * from tablewhichdoesnotexist

Of course if I tr

7条回答
  •  情书的邮戳
    2021-01-13 21:14

    I've just discovered that VS2010 with database projects will do syntax and name reference checking. Seems like the best option.

提交回复
热议问题