Forum Replies Created

Viewing post 1 (of 2 total)

  • RE: user mapped as dbo

    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

Viewing post 1 (of 2 total)