November 30, 2011 at 9:22 am
Hi,
I have a stored procedure and i have used create tables inside the procedure. When i am trying to execute the procedure through BCP it is throwing error saying that table object not found. Can you please help.
Thanks in Advance!!!
November 30, 2011 at 9:31 am
Are you using the same login for testing the stored proc as that being used to execute the BCP command?
The probability of survival is inversely proportional to the angle of arrival.
November 30, 2011 at 10:22 am
yes. i am using the same login.
November 30, 2011 at 10:32 am
can we see the bcp command?
lets try to eliminate the simple things, like calling the proc without specifying the database.schema.procname, is it?
could a copy of the proc exist in the MASTER database, so it fails because the assumed tables don't exist there?
does the proc name start with sp_??
Lowell
November 30, 2011 at 1:26 pm
Hi,
We are calling with DB.DBO.Procname. when we remove the create table script bcp runs fine.
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply