Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to get host and userid?

Status
Not open for further replies.

marcarls

Programmer
Joined
Feb 7, 2002
Messages
40
Location
SE
Hi,
I am writing triggers to audit changes in data. In MSS I use functions host() and suser_sname() to get the computer name and the dba-login for the person who triggered the change.
I need to know if there is any corresponding functions for Sybase SQL Anywhere? Anyone who knows? Thank you very much! :-)

Maria
 
select user_name()
select @@servername

HTH

Dickie Bird ((:-)))
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top