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 an ado connection?

1035


What is commandbuilder in ado.net?

1100


How do you merge 2 datasets into the third dataset in a simple manner?

1058


How to identify the controls which can be used for binding data?

1046


What is the use of sqldatareader class?

1052


What is ole access?

1000


What is the difference between sqldatareader and sqldataadapter?

1020


What is isolation?

1075


What is aggregating data ?

1025


What are all the different authentication techniques used to connect to MS SQL Server?

1134


Does entity framework use ado.net?

1023


What are the major challenges in accessing data from a database?

1066


How is entity framework different from ado.net?

1001


What is ado rdo dao in visual basic?

1205


What are the different ado.net namespaces?

1125