I have a stored procedure running on sql server A that needs to pull data from sql server B.
Sql server B has been linked to sql server A.
What is the syntax to query sql server B when sql server B has an instance name specified?
I.e. SELECT field1, field2 FROM ServerName\InstanceName.DatabaseName.dbo.TableName
This query won't run as it doesn't like the "\" character.
TIA
Smeat
Sql server B has been linked to sql server A.
What is the syntax to query sql server B when sql server B has an instance name specified?
I.e. SELECT field1, field2 FROM ServerName\InstanceName.DatabaseName.dbo.TableName
This query won't run as it doesn't like the "\" character.
TIA
Smeat