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 Serialization in .NET? what are the types of Serialization?
Which object holds only data and does not interact with data source?
What is ole in excel?
What do you mean by ‘batch updates’?
What is ado in agriculture?
Which name space is used to get assembly details?
Is bulk insert faster than insert?
Define ado.net?
What is ado data control?
What are the several execute methods of ado.net?
What is ole db and odbc?
What is full form of ado?
What are the key events of sqlconnection class?
What is the difference between ado.net and oledb?
What is difference in record set and dataset?