How to fetch the last inserted record in a particular table?
Answer Posted / sudhakar sakthivel
select * from tableName where rowid = (select max(rowid)
from tableName);
in oracle
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What are the different methods by which we can populate a dataset?
What are the Data providers in ADO.Net?
Explain the difference between sqlcommand object and command behavior object?
Explain the advantages and disadvantages of using datalist?
What is row state?
What is difference between datatable and dataset?
Define isolation?
Explain the difference between data reader and data adapter?
What is the difference between the clone() and copy() methods of the dataset class?
Explain the architecture of ado.net?
How do you update a dataset in ado.net?
How do you merge 2 datasets into the third dataset in a simple manner?
What are the features of ado.net?
What are the essential features of ado.net?
Which is the best method to get two values from the database?