Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What are the uses of Stored Procedure?

1071


What is sqldatasource?

932


What does sqldatareader return?

969


What is different between sqlcommand object and command behavior object?

1073


What is meant by executenonquery?

948


What is the default timeout specified for "sqlcommand.commandtimeout" property?

1056


What is linq and entity framework?

1015


Which namespaces are used for data access?

1224


What is ole in excel?

951


What is data relation?

928


Explain what is datagrid with an example?

1108


Explain the difference between data reader and data set?

933


What is dao and ado?

931


Define isolation?

979


Describe the command object and its method.

1014