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
Does ado.net use odbc?
Command objects uses, purposes and their methods.
What is dataadapter in ado.net?
How is entity framework different from ado.net?
How do I delete a row from a DataTable?
Where is adodb dll located?
What are the types of databinding?
How to Read, Add, Update and Delete record in Entity Framework ?
Which method is used by command class to execute SQL statements that return single value?
What is ole in excel?
What are the namespaces used in ADO.Net to connect to a database?
How can we add/remove row's in "datatable" object of "dataset"?
How will you differentiate between ADO (ActiveX Data Object) and RDO (Remote Data Objects)?
Give few examples of datareader that is used in different dataproviders.
What is the use of data grid?