Hi @Newtojob
Generally, SQL Server support four-part name in the form like this:
SELECT * FROM [LinkedServerName].[DatabaseName].[SchemaName].[TableName];
However, the error message says the maximum value is 2.
Guess that you're using the SELECT - INTO Clause, because it is not supported to create new table on a remote server.
Try this:
INSERT INTO [LinkedServerName].[DatabaseName].[SchemaName].[TableName]
SELECT * FROM [LocalServerName].[DatabaseName].[SchemaName].[TableName]
Alternatively, you can use the OPENQUERY function or the OPENDATASOURCE function in the FROM clause to specify the remote data source.
Best regards,
Cosmog
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".