What is the system function to get the current user's user
id?
Answer Posted / 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 |
Post New Answer View All Answers
How to use transact-sql statements to access the database engine?
What are different types of statement?
What are parameterized reports?
What is the downside of using udf?
Mention the command used to rename the database.
How can we delete Duplicate row in table?
What is meant by dirty read?
Differentiate between a primary key and a unique key.
What do you mean by cardinality?
Insert syudents details in table.Current system date &time insert into joining time.How do insert?( in sysdate only return current system date how do add time?)
Give me any three differences between Truncate and Delete.
What is the cartesian product of table?
While migrating Microsoft SQL Server 2008 database to SQL Azure, what can be done to ensure the database connectivity does not degrade?
What is auditing in sql server?
How is sql used in sql server?