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 ado.net in mvc?
The answers which posted above is not satisfied my requirement? Can some one post teh exact answer? Thanx
How to retrieve the user id which is provided while windows authentication?
What are the Data providers in ADO.Net?
Can we load multiple tables in a dataset?
What are the steps you will take to improve performance? Will you use dataset or datareader?
What is the default provider in ado.net?
Is ado.net an orm?
How does entity framework work?
What are the different ado.net namespaces?
What are the different methods by which we can populate a dataset?
What is ole2 format?
What is a datagridview?
What are the different namespaces used in the project to connect the database? What data providers available in .net to connect to database?
What is datatable in ado.net?