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 are the uses of Stored Procedure?
What is sqldatasource?
What does sqldatareader return?
What is different between sqlcommand object and command behavior object?
What is meant by executenonquery?
What is the default timeout specified for "sqlcommand.commandtimeout" property?
What is linq and entity framework?
Which namespaces are used for data access?
What is ole in excel?
What is data relation?
Explain what is datagrid with an example?
Explain the difference between data reader and data set?
What is dao and ado?
Define isolation?
Describe the command object and its method.