SAP HANA - Change password SQL
Asked Answered
S

1

6

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.

Sesquioxide answered 7/8, 2017 at 11:7 Comment(0)
S
12

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

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

Sesquioxide answered 7/8, 2017 at 11:7 Comment(3)
the doc mentions no quotes at allSavdeep
The command actually is ALTER USER <user_name> PASSWORD <new_password>. The double quotes are only required for passwords with special characters.Zurn
@LarsBr.Thx I updated Q&A. Feel free to edit the question / answer next timeSesquioxide

© 2022 - 2024 — McMap. All rights reserved.