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 co-related sub query?
Do you know what is recursion? Is it possible for a stored procedure to call itself or recursive stored procedure?
What is BLOCK statements in SQL?
How to rename an existing column with the "sp_rename" stored procedure in ms sql server?
Using query analyzer, name 3 ways you can get an accurate count of the number of records in a table?
can a database be shrunk to 0 bytes, if not, why? : Sql server administration
Get Current System Date Time
How to create a simple stored procedure in ms sql server?
What are the events recorded in a transaction log?
What are primary keys and foreign keys?
You accidentally delete the msdb database what effect does this have on your existing sql databases, and how do you recover?
can anyone explain me the concept of Serialization in Detail and Clear? plz its urgent i have interview on friday (15th feb)
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)