nondrinker
Programmer
Hello,
I have been to trying add a new maintenace package.
I chose the "Execute T-SQL Statementtask", and all i am trying to do here is run an insert statment. But whenever i try to run it, it gives me this error:
Executing the query "Insert INTO Test3 (EmployeeID, Name) VALUES ('100', 'TestName');
Insert INTO Test3 (EmployeeID, Name) VALUES ('37', 'Ryan')" failed with the following error: "Invalid object name 'Test3'.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.
**************************
I have created the table Test3 just for the test purposes but for sme reason the maintenece package is not finding it. If i run this statement in the New Query window then it runs fine and inserts the records in, but not if try to run it as a Maintenace task.
Thank you.
I have been to trying add a new maintenace package.
I chose the "Execute T-SQL Statementtask", and all i am trying to do here is run an insert statment. But whenever i try to run it, it gives me this error:
Executing the query "Insert INTO Test3 (EmployeeID, Name) VALUES ('100', 'TestName');
Insert INTO Test3 (EmployeeID, Name) VALUES ('37', 'Ryan')" failed with the following error: "Invalid object name 'Test3'.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.
**************************
I have created the table Test3 just for the test purposes but for sme reason the maintenece package is not finding it. If i run this statement in the New Query window then it runs fine and inserts the records in, but not if try to run it as a Maintenace task.
Thank you.