Home > Management Studio, SQLServer, SQLServer 2005, SQLServer 2008, SQLServer 2008 R2, SQLServer 2012 > SQL Server – How to Enable a Disabled SQL Server Login
  1. DBadmin
    October 15, 2013 at 12:40 pm


    Is there any script to find out the the logins which have been disabled in active directory,but they still exist on the sql server.

    I would also like to automate this process to get monthly report in mail.

  2. rah
    October 13, 2014 at 3:08 pm

    where to run this code:ALTER LOGIN [User01] ENABLE

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: