Thorsten Niehues
Thorsten Niehues

Reputation: 14452

SAP HANA - Change password SQL

How do I change my password in SAP HANA via SQL.
(or other users if I am an Administrator)

I did view the HANA Dokumentation : ALTER USER Statement

So I tried ALTER USER <user_name> PASSWORD '<new_password>' with no success.

Upvotes: 6

Views: 40650

Answers (1)

Thorsten Niehues
Thorsten Niehues

Reputation: 14452

Use double quotes : ALTER USER <user_name> PASSWORD "<new_password>"

(Unfortunately this is not mentioned in the provided Link).

Upvotes: 12

Related Questions