Invalid object name SQL Server 2008 R2 - Stored procedure

前端 未结 6 1513
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-24 11:51

I am attempting to alter an existing stored procedure with the command

ALTER \'name_of_stored\"procedure\'

however the name is highlighted in red noting it i

6条回答
  •  Happy的楠姐
    2020-12-24 12:23

    I had the same problem and saw an incredible number of possible answers, some quite exotic. Unfortunately I didn't see this page before finding what worked for me. I thought I would add this even though I believe it serves the same end as refreshing Intellisense. I knew I had done my work right because the stored procedure worked correctly in spite of the error so I finally decided it was not a 'real' error.

    I exited SSMS and re-entered and the Invalid Object Name error no longer appeared. I presume that refreshed the Intellisense as well.

提交回复
热议问题