Skip to content
Advertisement

Invalid object name of stored procedure error

I have a stored procedure such as below :

when I execute this procedure, I get an error:

Invalid object name ‘dbo.sp_InsertPumpsStatus’

What is problem?

Advertisement

Answer

In your script, It can be clearly seen that, You are giving same name to the stored procedure as the table in statement. Make sure the defined table on Insert statement is correct. If it is correct, Give another name to the stored procedure.

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement