Hi all -
Periodically, I need to "refresh" the data that is on my Test server.
I have been using Enterprise Manager's Export tool to copy
certain tables "manually" from my Production server.
My question: How can I automate this within a stored procedure?
I want to select all fields, all rows from the named table.
Would the T-SQL look something like this...?
INSERT INTO Test_Server.frigdare.dbo.LoadId
SELECT *
FROM Production_Server.frigdare.dbo.LoadId
Is it even possible to name the Server within the INSERT statement?
Thanks for any advice.
John
Periodically, I need to "refresh" the data that is on my Test server.
I have been using Enterprise Manager's Export tool to copy
certain tables "manually" from my Production server.
My question: How can I automate this within a stored procedure?
I want to select all fields, all rows from the named table.
Would the T-SQL look something like this...?
INSERT INTO Test_Server.frigdare.dbo.LoadId
SELECT *
FROM Production_Server.frigdare.dbo.LoadId
Is it even possible to name the Server within the INSERT statement?
Thanks for any advice.
John