Home Forums SQL Server 2005 Administering @@Servername RE: @@Servername
WayneS
SSC Guru
Points: 95409
More actions
April 25, 2010 at 8:41 pm
#1157437
Check out sp_AddServer in BOL.
You'll probably need to run it as:
execute sp_AddServer 'MyServerName', 'LOCAL'
WayneMicrosoft Certified Master: SQL Server 2008Author - SQL Server T-SQL Recipes