on 2013 Jul 30 5:18 AM
Hi,
I want to get the hostname of current SAP HANA via SQL statement, just like
SELECT host_name()
in SQL server. I try this in SAP Hana, but it doesn't work. So is there any way to get hostname, instance number
of an SAP HANA using SQL statement? thanks
Request clarification before answering.
Hi,
I have the same issue where XSA Migration Assistant tells me
"Error: HANA_HOST not set in environment"
I have gotten the parameters as such from HANA queries:
Set HANA_HOST = <SELECT CLIENT_HOST FROM M_CONNECTIONS WHERE CONNECTION_ID = CURRENT_CONNECTION;>
Set HANA_SQL_PORT = <SELECT DISTINCT sql_port FROM SYS.M_SERVICES WHERE SQL_PORT > 0;>
Set HANA_USER = my User
Set HANA_PASSWD = my pwd
Please help me understand why it does not recognize when I provide the HANA Host Parameter
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
77 | |
30 | |
10 | |
8 | |
8 | |
7 | |
7 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.