SQL Server missing tables and stored procedures
Posted
by Robo
on Stack Overflow
See other posts from Stack Overflow
or by Robo
Published on 2009-07-13T23:06:56Z
Indexed on
2010/05/29
17:02 UTC
Read the original article
Hit count: 217
I have an application on a client's site that processes data each night, last night SQL Server 2005 gave the error "Could not find stored procedure 'xxxx'". The stored procedure does exist in the database, has the right permission as far as I can tell, the application runs fine in other nights as well.
In previous occasions, the SQL Server has also gave error saying 'database object not found', and refers to a table in the database that does exists.
So, on rare occasions, the server thinks certain stored procedures and tables does not exist in the database. The objects it refers to are often ones that are frequently used.
Is the database somehow corrupted, is there some sort of repair/health check I can do?
© Stack Overflow or respective owner