stoolpigeon
Programmer
Is there anything special I need to know to write a stored procedure that is an Insert query?
I am running 6.5. I am trying to write a stored procedure that will insert a new row into a table.
I am logged onto the database as SA and I am the dbo. When I write out the proc (using create proc and all that good stuff) it tells me that I have error 208- "Invalid object name"
I have used the full name- dbo.procname, and I have used the exact same name to create a select query and it was created w/no problems.
As dbo I know I have full permissions to the table it should be adding to.
I've looked all over and I feel like I'm missing something that may be obvious.
I am running 6.5. I am trying to write a stored procedure that will insert a new row into a table.
I am logged onto the database as SA and I am the dbo. When I write out the proc (using create proc and all that good stuff) it tells me that I have error 208- "Invalid object name"
I have used the full name- dbo.procname, and I have used the exact same name to create a select query and it was created w/no problems.
As dbo I know I have full permissions to the table it should be adding to.
I've looked all over and I feel like I'm missing something that may be obvious.