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 an ado connection?
What is commandbuilder in ado.net?
How do you merge 2 datasets into the third dataset in a simple manner?
How to identify the controls which can be used for binding data?
What is the use of sqldatareader class?
What is ole access?
What is the difference between sqldatareader and sqldataadapter?
What is isolation?
What is aggregating data ?
What are all the different authentication techniques used to connect to MS SQL Server?
Does entity framework use ado.net?
What are the major challenges in accessing data from a database?
How is entity framework different from ado.net?
What is ado rdo dao in visual basic?
What are the different ado.net namespaces?