Viewing post 1 (of 2 total)
Hi All,
When I changed the db owner to SA , I could delete the login.
The below code was helpful.. Thank you
USE [your_database];
GO
SELECT SUSER_NAME(principal_id)
FROM sys.database_principals
WHERE name = 'dbo';
August 6, 2014 at 8:29 pm
#1735825