I need to copy some tables from a SQL Server 2016 instance to a SQL Server 2008 instance like
select *
into [sql8].[DatabaseA].[dbo].[Customers]
from [DatabaseA].[dbo].[Customers]
but I get an error:
Msg 117, Level 15, State 1, Line 9
The object name 'sql8.DatabaseA.dbo.Customers' contains more than the maximum number of prefixes. The maximum is 2.
I have tried generating a script of the data but my machine runs out of memory during SQLCMD
execution from the command line.
Looking for recommendations / pointer.
Thanks