SQL Server | Replication Error, can't connect to actual server, @@servername returns Null

preview_player
Показать описание

You can visit our blog

Twitter

Facebook

SQL Server DBA Interview Questions
Real time SQL Server Interview Questions with Answers
Experienced SQL Server Interview Questions
Top 100 SQL Server DBA Interview Questions and Answers
Microsoft SQL SErver DBA Interview Questions for Fresher
SQL Server DBA Advanced Interview Questions and Answers
Microsoft SQL Server Interview Questions
Prepare for MS SQL Server Interview
Advances Microsoft sql server administration Interviews
SQL Server Common Interview Questions and Answers

SQL Server replication Error
Рекомендации по теме
Комментарии
Автор

kindly arrange the video... so, we can start from very beginning

naveen
Автор

you need to show description of topics and arrange all the videos properly

lifet
Автор

Last time i had follow the trick it's work perfectly for me :

SELECT

--Output will be the Latest server name

After seeing this I realized that I changed my server name recently for some other demo and that is causing a problem.

To add server in local --

DECLARE @actualname NVARCHAR(100)
DECLARE @currentname NVARCHAR(100)
SELECT @actualname = CONVERT(NVARCHAR(100),
EXEC sp_dropserver @currentname
EXEC sp_addserver @actualname, local

Then we have check again
SELECT

Then we have to add server in publisher ----

sarojkumarpanigrahi