CubicleGuy
asked on
Pulling from a MSSQL 2005 db on a remote server and inserting results into our MSSQL 2005 tables
I'd prefer to *not* use MS Business Integration Studio.
Can I, in one stored procedure, pull data from table A in database A and then insert the results into table B in database B?
Is it as simple as using "USE" to identify the source and then the target?
Thanks
Can I, in one stored procedure, pull data from table A in database A and then insert the results into table B in database B?
Is it as simple as using "USE" to identify the source and then the target?
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Linked servers are new to me -- but after reading the URL, it seems to be the answer.
databaseA.schema.tableA
databaseB.schema.tableB
default schema is dbo.
if the database are on different servers you will need to use linked servers