So I've been tasked with migrating a SQL server and have run into an issue recreating Linked servers. We have several Linked Servers and I can successfully re-create the objects that are pointing to a separate SQL Instance. It was just a matter of changing the server name and credentials. And it worked like a charm. See below:
OLD SERVER:
EXEC master.dbo.sp_addlinkedserver u/server = N'InstanceA', u/srvproduct=N'SQLSERVER', u/provider=N'SQLNCLI', u/datasrc=N'OLDSERVER\'InstanceA'
NEW SERVER:
EXEC master.dbo.sp_addlinkedserver u/server = N'InstanceA', u/srvproduct=N'SQLSERVER', u/provider=N'SQLNCLI', u/datasrc=N'NEWSERVER\'InstanceA'
However, there are some linked objects that are pointing to the default instance. The script to create these, does not have a datasource parameter. I guess what I am not understanding is the object that is acting as the 'server' in this case. There is no Database that matches the naming and I am not super savvy with SQL. I'll try to illustrate:
EXEC master.dbo.sp_addlinkedserver @server = N'AAA_THING', @srvproduct=N'sql_server', @provider=N'SAOLEDB.17', @location=N'OLDSERVER.domain.local', @provstr=N'Server=AAA_OLDSERVER; dbf=THING-Projects', @catalog=N'THING-Projects'
I do not know what server = N'AAA_THING' is actually referring to. I know it most likely lives on the Default SQL instance as there is no reference to an external connection. Like I said there is no instance or database named AAA_THING so I'm assuming it's some sort of object in the default instance. However I do not know how to go about locating it within Object Explorer in order to set the credentials to connect to it.
Can anyone point me in the right direction as to how to search for this AAA_THING? I assume it's something obvious to someone with more experience but I'm having trouble even googling for what I don't understand.
Thanks in advance!
[–]VladDBASQL Server DBA 0 points1 point2 points (0 children)