password does not return a result set. If the current password is incorrect, or the new password is invalid, you see an error message.
Syntax
passwordcurrent_passwordnew_password
Parameters
current_password – the existing password for the administration user login name.
new_password – the new password for the administration user login name. The default
minimum password length is 6 and the maximum password length is 30. You
can configure the password length in the
instance.cfg. Valid
characters for input values are a-z, A-Z, 0-9, -, and _.
Examples
Example 1 – changes the da_admin password from “sybase” to “onesybase”: