• 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';

    GO