O'Reilly logo

Microsoft® SQL Server 2012 Unleashed by Alex T. Silverstein, Chris Gallelli, Paul T. Bertucci, Ray Rankins

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

sp_droplinkedsrvlogin

You can delete mappings for linked servers by using sp_droplinkedsrvlogin. Members of the sysadmin and securityadmin fixed server roles can execute this stored procedure:

sp_droplinkedsrvlogin [@rmtsrvname =] 'rmtsrvname',[@locallogin =] 'locallogin'

The elements of this syntax are as follows:

Image rmtsrvname—The linked server that will lose this login mapping (@rmtsrvname parameter).

Image locallogin—The local login that will lose the mapping to the linked server (@locallogin parameter). You can designate ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required