Reputation: 14470
I have a wired issue with some of the stored procedures
on my database. Those are not displayed in object explorer. I tried using filter to search by name and still it not appears!!!
Thing is when I try to create those missing ones it says the stored procedure is already exists. And I tried altering the SP and it worked. But I cannot see those yet.
Any idea regarding this?
Upvotes: 1
Views: 90
Reputation: 40359
This could be due to a number of things, including but not limited to:
Upvotes: 0
Reputation: 103378
I've had this conundrum before and it was because I was actually trying to create the stored procedure in the master database. I believe by default, in SSMS, this database is selected by default.
If you are using SSMS, ensure that the database selected from the dropdown list (usually top left on the query window toolbar) is the correct database.
Upvotes: 1