What is the best way to go about doing this? I have found some INSERT statements, but they all seem to work just for inner-database copying.
My rendition:
INSERT INTO [PROGRAM003].[dbo].[faq] ([id], [category], [question], [answer], [tags]) SELECT ([id], [category], [question], [answer], [tags]) FROM [SQL2005_552664_gsow].[dbo].[faq]
I am not very fluent with MSSQL yet, so any and all help is appreciated.
You can use OPENDATASOURCE or OPENROWSET to access tables on other servers. You’ll need to provide SQL credentials in the query or have both databases setup to allow access to your windows id for this to work. You can also use the import/export wizard in SQL Server Management Studio — right click on the database and choose Tasks–>Import or Tasks–>Export.