Is there a way to have SQL server validate object references in Stored Procs?
- by Scott Weinstein
The following code executes fine in SQL Server
create proc IamBrokenAndDontKnowIt as
select * from tablewhichdoesnotexist
Of course if I try to run it, it fails with
Invalid object name 'tablewhichdoesnotexist'.
Is there any way to compile or verify that Stored Proc are valid?