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

Is ado.net dead?

956


Define isolation?

921


What is disconnected architecture in ado.net?

946


Explain the difference between data reader and data adapter?

910


What is the difference between ADO and ADO.Net?

1023


Which components of a data provider is used to retrieve, insert, delete, or modify data in a data source?

1085


How to check if a datareader is closed or opened? IsClosed()

971


Describe datareader object of ado.net with example.

874


What are ado.net objects?

1010


Define table relations?

922


How would you connect to database using .NET?

985


What is ado asp?

949


What is command class in ado.net?

940


What is the hierarchy of data in databases?

896


What is the default provider in ado.net?

911