I have a very simple question.
I’m running SQL code within and ASP (IIS) Web page.
I’m trying to insert into a table several variables from the Web page.
In addition I want to get the system date/time and the user logon (DOMAIN).
The statement is:
Insert into T1
(‘::V1::’, getdate(), User_ID)
The getdate() works fine, but how can I get the userID (Domain\Userid)