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
How to connect and retrieve data from database using dataset
What does adodb stand for?
Is bulk insert faster than insert?
What are all the classes that are available in System.Data Namespace?
Define isolation?
What is ado.net and its features?
How can we save all data from dataset?
How to Read, Add, Update and Delete record in Entity Framework ?
Which object of ado contains datarow datacolumn collection?
What is difference between ado.net and asp net?
What is the difference between a datareader and a dataset?
Explain executenonquery?
Explain the difference in an abstract class and an interface?
Can datareader hold data from multiple tables?
What is ole data type?