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 providers does Ado.net uses?
How will you differentiate between ADO (ActiveX Data Object) and RDO (Remote Data Objects)?
What is the role of data provider in ado.net?
How to bind the controls(best practice) comboboxes to the data in the dataset?
What is the difference between SqlCommand and SqlCommandBuilder?
What is the difference between data reader and data adapter?
What is openquery?
How to connect and retrieve data from database using dataset
Define data adapter?
What are the 3 major types of connection objects in ado.net?
What is openrowset?
Which object is used to add relationship between two Datatables?
Explain how to call the sql commands asynchronously in ado.net version 2.0?
Explain the differences between oledb sql server, oledbdotnet provider?
What are the advantages and drawbacks of using ado.net?