title: Get the IP address of the server from SQL in Teradata
body: <p>I want to check the current connection to validate if the configuration is correct according to the environment. I mean, I have a ETL and I want to be sure the database configuration points to the right server (dev, QA or prod)</p>
  
  <p>How can I get the IP address of the server or hostname from SQL in Teradata?</p>