What is the system function to get the current user's user
id?
Answers were Sorted based on User's Feedback
Answer / swapna
USER_ID(). other system functions like USER_NAME(),
SYSTEM_USER, SESSION_USER, CURRENT_USER, USER, SUSER_SID(),
HOST_NAME().
| Is This Answer Correct ? | 5 Yes | 1 No |
Answer / tejas
USER_ID no USER_NAME user name gives us the user name not the USER_ID
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the advantages of using stored procedures in sql server?
How will u find the query which is running in some other machine
4 Answers CarrizalSoft Technologies, IBM,
I have a table Events Events containing cardno,time,id,name--each id has a cardno my requirement is every day each employee swipe the card several times i want to calculate first and last time of each card the output should be name 1 2 6 7 in out in out holiday holiday xxx 09:30 06:30 09:40 06:45 where 1,2...... are dates for example january 1,2, etc. 6 and 7 are saturday and sunday how it is posssible
What causes index fragmentation?
how to delete duplicate rows in sql server2005
7 Answers Cisco, CTS, HCL, IBM,
How to implement one-to-one, one-to-many and many-to-many relationships while designing tables?
How to fetch records from a One to Many relationship table. eg: wanna get details of all orders for a specific customer. (do not want repeatation of master table records for child table records)
which one will take 1st priority in case of insert statement and select statement???
how to write test cases for testing databases,especially for testing and writing test cases for stored procedures.any real time database testers.please answer me.
What are actions, how many types of actions are there, explain with example? : sql server analysis services, ssas
Difference between writing SQL query and stored procedure ?
15 Answers Cognizant, Infosys, TCS, Veritas,
What are indexes? When do you need to create Indexes?
4 Answers CarrizalSoft Technologies, HP,
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)