I'm trying to figure out how to create a copy of a table from one linked server to another inside Management Studio. I have both linked servers created, and I can query them. However, one is a SQL Server instance and the other is a ODBC connection to a QuickBooks QODBC connection.
When querying the SQL Server instance I run a query like this
SELECT *
FROM [MYSERVERNAME\SQLSERVICEINSTANCE].[DATABASENAME].[DBO].[TABLENAME]
When querying the QODBC QuickBooks database I run a query like this
SELECT *
FROM OPENQUERY(QUICKBOOKS, 'SELECT * FROM Invoice')
How can I select * into SQLSERVER.Invoices FROM QUICKBOOKS.Invoices?