(Cluster environments only) Returns the name for the SAP ASE with an ID that you provide, or the name of the SAP ASE from which it is issued if you do not provide a value for id.
instance_name([id])
select instance_name(12)
ANSI SQL – Compliance level: Transact-SQL extension.
Any user can execute instance_name.