What is SCOPE_IDENTITY() in sql

Answer Posted / ranjani

Scope_Identity() returns last identity value inserted into
an identity column in the same scope.

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to delete exactly duplicate records from a table?

607


What type of locking occurs during the snapshot generation? : sql server replication

874


How to write a query with a full outer join in ms sql server?

564


How do I create a trace in sql server?

520


What are the different types of upgrades that can be performed in sql server?

695






How you can get a list of all the table constraints in a database? : Sql server administration

522


you have a table with close to 100 million records recently, a huge amount of this data was updated now, various queries against this table have slowed down considerably what is the quickest option to remedy the situation? : Sql server administration

544


How dts is used to extract, transform and consolidate data?

600


What are the commands used in DCL?

564


can an order by clause be used in a creation of a view?

697


what are different types of raid configurations? : Sql server database administration

490


Explain Reporting Life Cycle?

90


What is normalization and its types?

540


Explain system functions or built-in functions? What are different types of system functions?

571


What is a transaction and why is it important?

575