How to fetch the last inserted record in a particular table?

Answer Posted / jk

By using scope_identity

Is This Answer Correct ?    9 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to create a quiz software using 4 options to answer and how to check with answers in the database and award marks....

3710


Describe datareader object of ado.net with example.

508


What are the core objects of ADO.NET?

582


What are basic methods of dataadapter?

499


Explain which name space is used to get assembly details?

522






What is ado object model?

509


What is the advantage of ado.net?

538


What property must be set and what method must be called in your code to bind the data from some data source to the Repeater control?

552


What is dbcontext and dbset in entity framework?

482


What are the rules to implement connection pooling?

504


Explain the dataadapter class in ado.net?

657


Which parameter of ConnectionString is used to specify the name of the database?

542


What are the different execute methods of Ado.Net?

551


Why do we need ado.net?

537


What are the uses of Stored Procedure?

549