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...

Let?s say you have 100,000 records and you want to delete
95,000 at a time and keep only 5 thousand. But in local
memory you don?t have enough space for 95,000 records. What
do you do in this case? How do you delete without any
problem with time and performance?

Answer Posted / pankaj gupta

First create a table using select statement with 5000 records u want to keep.. put it in memory.. then drop/truncate (not delete, that is the basic problem) the entire table.. and then put this 5000 record table in place

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are different types of joins in sql?

1029


What are the restrictions applicable while creating views?

948


What is the advantage of the database management approach

1054


Why its better to use files than a DBMS when there are multiple users to access the data

1181


What is sql in database management system?

944


Give the cobol definition of a varchar field 177 when can an insert of a new primary key value threaten referential integrity?

947


What is procedure in dbms?

890


What is network database?

1044


What are different cursor types in dbms?

1042


What are the different technologies used to access Database from Visual Basic?

967


What is built_in Subprogram ?

3037


does pl/sql support “overloading”? Explain

988


what is difference between 1.append to media 2.overright the existing media when we take back up in sql server2000

2042


What do you understand by data model?

1097


What is sql and where is it used?

948