masadmin
Grasshopper
Points: 23
More actions
December 3, 2003 at 4:51 am
#151986
is there a way to retrieve the windows logonname and the computername using tsql?
Frank Kalis
SSC Guru
Points: 111183
December 3, 2003 at 5:04 am
#484429
Something like
SELECT suser_sname(), host_name()
Frank
http://www.insidesql.de
http://www.familienzirkus.de
--Frank KalisMicrosoft SQL Server MVPWebmaster: http://www.insidesql.org/blogsMy blog: http://www.insidesql.org/blogs/frankkalis/[/url]
December 3, 2003 at 5:06 am
#484430
thank you Frank, that is ideal
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply