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 ASE drivers connected to a database throw password expired errors and suggest that the user change the password using isql. This feature allows users to change their expired passwords using the ASE ODBC Driver.

Changing the password through the connection string properties

To change password, you have to set 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, the user is prompted for the current password and the new password that will replace it.