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 add more data to the testing table in ms sql server?
What is a constant or literal in ms sql server?
What is the difference between clustered and a non-clustered index?
How To Make password Protected SQL Server 2005 Database i.e when i open SQL Server database then ask for password.
what are the advanced features in sql 2008?
Explain Active/Active and Active/Passive cluster configurations?
What is a non-clustered index?
What is database normalization?
7 Answers Deloitte, Digicel, JPMorgan Chase, Verifone,
What is logshipping and its purpose?
wt is mean by acid property? i know it is atomocity,consistency,isolation and durabulaty but wt is these mean and wt actions it's perform
How to transfer a table from one schema to another?
Is candidate a key?
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)