SAP HANA - Change password SQL

Thorsten Niehues picture Thorsten Niehues · Aug 7, 2017 · Viewed 17.5k times · Source

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.

Answer

Thorsten Niehues picture Thorsten Niehues · Aug 7, 2017

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

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