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



No comments:

Post a Comment

Useful websites

https://www.yumpu.com/en/document/read/4306765/sybase-ase-15-best-practices-query-processing-optimization https://www.yumpu.com/en/document/...