How to fetch the last inserted record in a particular table?
Answer Posted / skumar
We can use the query like
SELECT TOP 1 ID FROM table ORDER BY ID DESC
| Is This Answer Correct ? | 11 Yes | 2 No |
Post New Answer View All Answers
What is the difference between Dataset. clone and Dataset.copy?
Compare Data Reader & Dataset in ado.net?
What connected data?
What is disconnected data?
What is a serialized object?
What is the current version of entity framework?
What is Data Provider?
List the 4 common ado.net namespaces?
How do we use stored procedure in ADO.NET and how do we provide parameters to the stored procedures?
Explain the difference between data reader and data adapter?
What are the differences between OLEDB and SQLClient Providers?
Explain all the classes those are used for database connections between sql server and asp.net?
What is the difference between DataReader and DataSet in ADO.NET?
What is ole access?
What are different layers of ADO.Net?