How to fetch the last inserted record in a particular table?
Answer Posted / archana
If a table have identity column then u can fetch the last
inserted record through following query:
"select max(ID) from test"
Is This Answer Correct ? | 2 Yes | 9 No |
Post New Answer View All Answers
What you mean by filtering of data?
how to create a quiz software using 4 options to answer and how to check with answers in the database and award marks....
What is the use of connection object in ado.net?
What provider ado.net use by default? Explain the role of data provider in ado.net? What is the role of data provider in ado.net?
Which database is the ado.net sql connection object designed for?
what is the difference betwen typed dataset and untyped dataset?in general which dataset can we use in programming?
What is csdl entity framework?
What is isolation?
Explain the difference between an ado.net dataset and an ado recordset?
How is it possible to get 2 tables of data at a time by using data reader?
How do you update a dataset in ado.net?
What is the difference between Data adaptor and Data set?
What is connection string?
If we are not returning any records from the database, which method is to be used?
Define atomicity?