v.19.16New Feature
Add Fullhostname Function That Returns a Fully Qualified Domain Name
Add fullHostName function that returns a fully qualified domain name. #7263 #7291 (sundyli)
Why it matters
This feature provides users with a straightforward way to retrieve the complete network name of the server, including the domain, which is useful for advanced logging, auditing, network configuration checks, and monitoring in distributed environments.How to use it
Simply call the function in your SQL queries as follows:SELECT fullHostName()This will return the fully qualified domain name of the server.