#名称不匹配检查方式 select @@servername,serverproperty('servername') #解决方式 if serverproperty('servername') <> @@servername begin declare @server sysname set @server = @@servername exec sp_dropserver @server = @server set @server = cast(serverproperty('servername') as sysname) exec sp_addserver @server = @server , @local = 'LOCAL' end
#SQL Server 代理(MSSQLSERVER)权限不足 #解决方案: win+r services.msc 找到服务改权限