What is SCOPE_IDENTITY() in sql
Answers were Sorted based on User's Feedback
Answer / deepthi
It will return the value of Auto Increment column , for the
newly inserted row value.
| Is This Answer Correct ? | 35 Yes | 3 No |
Answer / vipul
When new row insert into table its we can get value of auto
increment column using SCOPE_IDENTITY()
| Is This Answer Correct ? | 10 Yes | 2 No |
Answer / ranjani
Scope_Identity() returns last identity value inserted into
an identity column in the same scope.
| Is This Answer Correct ? | 7 Yes | 2 No |
Answer / cow
scope identity will give you the last generated value for
the current session/scope. Note that @@identity is across
sessions.
| Is This Answer Correct ? | 3 Yes | 2 No |
internal language used in sql server 2000?
Can anyone tell that the extra features are there in SQL SERVER 2008 that are not available in previous versions .
What is a coalesce function?
What is the joins and how many types of Joins in sql server a diffrentiate ever one give a suaitable query
What are the different types of subquery?
What are the differences between clustered and non-clustered index?
What happens if null values are involved in comparison operations?
If you are given access to a SQL Server, how do you find if the SQL Instance is a named instance or a default instance?
How to convert numeric expression data types by assignment operations?
What are types of scd? : sql server analysis services, ssas
What is a cursor in SQL Server 2000 and their types?
What happens if time-only values are provided as date and time literals?
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)