What is the use of SCOPE_IDENTITY() function?
Answers were Sorted based on User's Feedback
Answer / saravakumar
Returns the most recently created identity value for the
tables in the current execution scope.
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / bhupesh
Returns the last identity value inserted into an identity
column in the same scope. A scope is a module: a stored
procedure, trigger, function, or batch.
| Is This Answer Correct ? | 3 Yes | 1 No |
What are subqueries in sql server?
What do you mean by recursive stored procedure?
What are the disadvantages of using querystrings to send data from one page to another?
Can you change the data type of a column in a table after the table has been created? If so, which command would you use?
What is the Difference beween sql server 2005 and sql server 2008
What are data files?
what is Covering Index ?
What is the use of attributehierarchyvisible ? : sql server analysis services, ssas
What is schemabinding a view?
What is the difference between local and global temporary tables?
Explain forward - only cursors?
How to create a view on an existing table in ms sql server?
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)