How to lock/unlock sybase login

Steps to follow the lock/unlock sybase login

sp_locklogin used to lock/unlock an  Adaptive Server account or displays a list of all locked accounts

login isql with system administrator

>sp_locklogin <username>,"lock"

>go



sp_locklogin stored procedure is used to check the locked accounts

>sp_locklogin

>go



to unlock the login use the below command

>sp_locklogin <login_name>,"unlock"

>go



Sybase history

Sybase  is a computer software company that develops and sells database management system (DBMS) and middleware products. The company was fo...