What is the system function to get the current user's user
id?

Answers were Sorted based on User's Feedback



What is the system function to get the current user's user id?..

Answer / swapna

USER_ID(). Also check out other system functions like
USER_NAME(), SYSTEM_USER, SESSION_USER, CURRENT_USER, USER,
SUSER_SID(), HOST_NAME().

Is This Answer Correct ?    6 Yes 0 No

What is the system function to get the current user's user id?..

Answer / hcl

select * from dbo.sysprocesses

Is This Answer Correct ?    0 Yes 0 No

What is the system function to get the current user's user id?..

Answer / naren

13.select * from sysprocesses
where loginame like '324%'----diply the all ohrid's in the
server

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More SQL Server Interview Questions

What is a DBMS, query, SQL?

0 Answers   Maveric,


What is database architecture? : SQL Server Architecture

0 Answers  


How to create a view and a stored procedure in ms sql server using "create view/procedure" statements?

0 Answers  


Write an sql query to sort a table according to the amounts in a row and find the second largest amount.

0 Answers   Amazon,


What are the difference between primary key and unique key? : sql server database administration

0 Answers  






What is an entity-relationship diagram (erd)?

0 Answers  


What is replication with database mirroring? : sql server database administration

0 Answers  


What is the process of normalising?

0 Answers  


How to change the data type of an existing column with "alter table" statements in ms sql server?

0 Answers  


how to define testing of network layers? : Sql server database administration

0 Answers  


Is mysql better than sql server?

0 Answers  


Explain about integration services of Microsoft SQL server?

0 Answers  


Categories