Probem solved, with the following convenient password reset procedure found in a large production database, with EXECUTE granted to PUBLIC and a handy public synonym:
CREATE OR REPLACE PROCEDURE reset_user_password(p_username IN VARCHAR2)Many thanks to Robert De Laat for this submission.
AS
BEGIN
execute immediate 'ALTER USER '||upper(p_username)||' IDENTIFIED BY '||upper(p_username);
END;
/
No comments:
Post a Comment