SAP Knowledge Base Article - Preview

3169329 - The column "lockdate" is not updated on "syslogins" to "NULL" when unlocking a login - SAP ASE


When executing "sp_locklogin" to unlock a login, the column "lockdate" is not updated on "syslogins" to "NULL", but instead, it's updated to the current date:

1> sp_locklogin bbbbb,'unlock'
2> go
Account unlocked.
(return status = 0)

1> select name, lockdate from syslogins where name='bbbbb'
2> go
name lockdate
------------------------------ -------------------------------
bbbbb Dec 29 2021 2:05PM

(1 row affected)




SAP Adaptive Server Enterprise 16.0 and higher


SAP Adaptive Server Enterprise 16.0


sp_addlogin create login sp_lock lock unlock timestamp syslogins lockdate , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.