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 is tempdb database? : SQL Server Architecture
What is the use of placing primary key and foreign key constrains on columns.
What is enhanced database mirroring in sql server 2008?
What are cursors?
IF more than one Site is accessing the same Database server and I want to move the DB with Minimum down time? How will you do
How to remove duplicate rows from table except one?
when you create a database how is it stored? : Sql server database administration
What stored by the model? : sql server database administration
What are group functions in query statements in ms sql server?
what do you understand by change data capture?
What are pages and extents? : SQL Server Architecture
How you would rewrite the sql query to return the customerid sorted numerically?
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)