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 |
How to skip remaining statements in a loop block using continue statements?
What is apply operator in sql?
write the query for find the top 2 highest salary in sql server
36 Answers Cranes, Jayanti Software, Medi Assist, Rmax, TCS,
What is merge?
If I delete a template from the list in sql studio, will it be deleted from the hard disk? : sql server management studio
How many partitions a clustered index has by default in sql server 2012?
Do you know concepts and capabilities of sql server?
What is the architecture of ms sql reporting service?
What does select 1 mean?
How many types of Joins in SQL Server 2005?
9 Answers CarrizalSoft Technologies, HCL,
Can we create clustered index on composite key?
How you can get a list of all the table constraints in a database?
Oracle (3253)
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)