how can i copy data from a view of one server into the database table of another server in a SQL server database without using linked servers method. I tried using the code:
SELECT [LogEntryID]
,[TimeStamp]
Into [server-2].[database1].[dbo].[table1]
FROM [server-1].[database1].[dbo].[view_1]
I recieve the error " The object name 'server-2.database1.dbo.table1' contains more than the maximum number of prefixes. The maximum is 2. The copying statement i am using in a groovy code. But for first i am trying it in a query if it works.