I am Shashank Srivastava currently working as a SQL DBA for a client that has one of the best database environment in the world. I have two years of experience and just wanted to learn and share through the blog. This blog is just to share my knowledge with all the people and learn from them.
I have completed Microsoft Certified Technology Specialist -MS SQL SERVER 2005 , Microsoft Certified Technology Specialist -MS SQL SERVER 2008 and ITIL v3 Certified IT professional certifications.
Wednesday, September 21, 2011
To check logins which are DISABLED in SQL Server
To check Logins which are disabled in SQL SERVER 2005/2008/2008 R2
select name,is_disabled,* from sys.server_principals where is_disabled = '1'