HI,
I have a Database Called PRODDB the owner is USER1 and a table called MYTABLE that was created by USER1 and also USER1 is owner of the table.
I have setup the exact same database and user in TEST enviorment.
In test a DTS that reads a file and upload it in a table and do a simple select "select * from MYTABLE" this works.
Then I copy "MYTABLE" and data using a simple dts to prod and then copy the DTS to prod also.
My problem:
In prod when i execute the dts it gave me an error :
Step Error Source: Microsoft OLE DB Provider for SQL Server
Step Error Description:Invalid object name 'MYTABLE'.
Step Error code: 80040E37
Step Error Help File:
Step Error Help Context ID:0
i realize i have to add the owner on the select:
"Select * USER1.MYTABLE"
but in test i only have:
"Select * from MYTABLE
Why it doesnt work on prod? I created a role and gave all permissions "select insert update delete dri" but still wont work.
Any ideas will be appriciated sine there are more then 20 DTS and hopefully i dont have to add the OWNER to all the statements.
Thanks...in advanced
I have a Database Called PRODDB the owner is USER1 and a table called MYTABLE that was created by USER1 and also USER1 is owner of the table.
I have setup the exact same database and user in TEST enviorment.
In test a DTS that reads a file and upload it in a table and do a simple select "select * from MYTABLE" this works.
Then I copy "MYTABLE" and data using a simple dts to prod and then copy the DTS to prod also.
My problem:
In prod when i execute the dts it gave me an error :
Step Error Source: Microsoft OLE DB Provider for SQL Server
Step Error Description:Invalid object name 'MYTABLE'.
Step Error code: 80040E37
Step Error Help File:
Step Error Help Context ID:0
i realize i have to add the owner on the select:
"Select * USER1.MYTABLE"
but in test i only have:
"Select * from MYTABLE
Why it doesnt work on prod? I created a role and gave all permissions "select insert update delete dri" but still wont work.
Any ideas will be appriciated sine there are more then 20 DTS and hopefully i dont have to add the OWNER to all the statements.
Thanks...in advanced