CodePudding user response:
This requirement is quite rareWho normally don't go to literally change password, unless you are a malicious user
Online search for the ALTER USER statement, can write system trigger is prohibited
CodePudding user response:
You can create a trigger, when users view password change triggers the trigger, the trigger determine whether the user is ordinary users or system administrators in the system or sys user, respectively corresponding to perform different operations,