Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8620

Re: Getting ServerName in a View

$
0
0

SAP HANA is generally a multi-server system, so looking at the system landscape will always deliver possibly more than one server.

But you seem to be interested in the node, your current session is connected to.

That's easy to have via:

 

select host, port
from m_connections
where connection_id = current_connection;

(* I put the port in as well...)


Viewing all articles
Browse latest Browse all 8620

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>