How to fetch the last inserted record in a particular table?
Answer Posted / vimal katiyar
daer Archana your answer is nt complete so this s complete query fr last inserted record fetch from table
select * from <tablename> where id=(select max(id) from <table name>)
Is This Answer Correct ? | 32 Yes | 2 No |
Post New Answer View All Answers
What is datasource in ado.net?
Explain advantages of ado.net?
What are the benefits of ADO.NET?
What is the full form of ado.net?
Explain the various objects in dataset.
What are the main differences between classic ado and ado.net?
What is ado and rdo?
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?
How can you identify whether or not any changes are made to the DataSet object since it was last loaded?
What are the namespaces used in ADO.Net to connect to a database?
What is dataset and datatable in ado.net?
What is difference between connected and disconnected architecture in ado.net?
Explain the role of data provider in ado.net? What is the role of data provider in ado.net?
What are the major difference between classic ADO and ADO.NET?
What is ado object model?