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 is ado.net in mvc?

926


The answers which posted above is not satisfied my requirement? Can some one post teh exact answer? Thanx

2020


How to retrieve the user id which is provided while windows authentication?

1095


What are the Data providers in ADO.Net?

1013


Can we load multiple tables in a dataset?

1129


What are the steps you will take to improve performance? Will you use dataset or datareader?

988


What is the default provider in ado.net?

963


Is ado.net an orm?

959


How does entity framework work?

917


What are the different ado.net namespaces?

1055


What are the different methods by which we can populate a dataset?

1229


What is ole2 format?

902


What is a datagridview?

1040


What are the different namespaces used in the project to connect the database? What data providers available in .net to connect to database?

1336


What is datatable in ado.net?

966