Password changes

It is a good idea to change your password periodically. The System Security Officer can configure Adaptive Server to require that you change your password at preset, regular intervals. If this is the case on your server, Adaptive Server notifies you when it is time to change your password.

NoteIf you use remote servers, you must change your password on all remote servers that you access before you change it on your local server. For more information, see “Password changes on a remote server”.

You can change your password at any time using sp_password:

sp_password old_passwd, new_passwd

When you create a new password:

When you specify a password, enclose it in quotation marks if:

The following example shows how to change the password “terrible2” to “3blindmice”:

sp_password terrible2, "3blindmice"

A return status of 0 means that the password was changed. For more information about sp_password, see the Reference Manual: Procedures.