What is SCOPE_IDENTITY() in sql

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When we should use and scope of @@identity?

561


Which data types generate inaccurate results if used with an = or <> comparison in a where clause of a sql statement?

546


What is the purpose of floor function?

546


What is indexing a document?

559


List the data types available in mssql?

540






Explain what is row_number function?

572


What is code near application topology?

197


You want to implement the many-to-many relationship while designing tables. How would you do it?

570


How to connect a database with sql express.?

578


What is sql stored procedure?

612


Can you explain what are the restrictions applicable while creating views? : SQL Server Architecture

505


Do you know what is blocking?

547


What is normalization? Explain different forms of normalization?

548


What is the difference between a fill factor of 100 and 0?

536


Which table keeps information about stored procedures?

543