Orphaned User

  • Guys just wanna ask if anyone of you know how to display all the orphaned users per database? Something like this...

    DBName DBUser Status

    Orphaned

    I need a simplified form of SQL Statement to gather this information. Thanks in advance....

    "-=Still Learning=-"

    Lester Policarpio

  • EXEC sp_MSForeachDB "use ? Exec sp_change_users_login 'Report'"

    Regards,

    Andras


    Andras Belokosztolszki, MCPD, PhD
    GoldenGate Software

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply