Getting account 'locked' status in MS SQL Server
Posted
by Santhosha
on Stack Overflow
See other posts from Stack Overflow
or by Santhosha
Published on 2010-04-09T12:20:23Z
Indexed on
2010/04/09
12:23 UTC
Read the original article
Hit count: 378
I want to unlock one account in MS SQL Server. Before unlocking I have to check whether that account is locked or not.
I want to unlock only if the account is locked.
Is there any SQL query or stored procedure to get the "Locked" status of SQL user?
© Stack Overflow or respective owner