Returns the client computer’s operating system process ID for the current SAP ASE client (not the server process).
host_id()
select host_name(), host_id() ----------------------------- ----------------------- ephemeris 2309
2309 pts/2 S 0:00 /work/as125/OCS-12_5/bin/isql
See also Transact-SQL Users Guide.
ANSI SQL – Compliance level: Transact-SQL extension.
Any user can execute host_id.