Password expiration handling

Every company has a specific set of password policies for its database system. Depending on the policies, the password expires at a specific date and time. Unless the password is reset, the Adaptive Server ODBC Driver connected to a database throws password expired errors and suggests that the user change the password using isql. The password expiration handling feature allows users to change their expired passwords using the Adaptive Server ODBC Driver.

Changing the password through the connection string properties

Set these two connection string properties:

Changing the password through a dialog box

A change password dialog is activated when “SQLDriverConnect with SQL_DRIVER_PROMPT” is set to true. In this dialog, enter the current password and the new password.