How to fetch the last inserted record in a particular table?
Answer Posted / archana
If a table have identity column then u can fetch the last
inserted record through following query:
"select max(ID) from test"
| Is This Answer Correct ? | 2 Yes | 9 No |
Post New Answer View All Answers
What are the uses of Stored Procedure?
What is dataset and datatable in ado.net?
What is executequery?
What is the meaning of executenonquery?
What are the features of ado.net?
What is difference between entity framework and ado.net?
What does datareader object do?
What is the difference between ado.net and entity framework?
What is difference between dataset and datatable?
What are the major difference between classic ADO and ADO.NET?
How will you differentiate between ADO (ActiveX Data Object) and RDO (Remote Data Objects)?
What are the parameters that control most of connection pooling behaviors?
Explain the dataadapter class in ado.net?
What is sqldatasource?
What is the difference between Datareader and Dataset?