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 / manjeet

First select the 5000 records u want to keep.. put it in
memory.. then delete the entire table.. and then put this
5000 record table in place

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to stop superserver service on linux using only firebird tools?

612


How do you set up a database?

516


What is the advantage of using preparedstatement?

476


What's the difference between star and snow flake schema?

512


What are the two main functions of queries in databases?

775






Where is database used?

497


What does clipper stand for?

525


for what purpose we use MDM(master data management)tell me plz.

3748


What are the advantages of manual database?

470


What is hot backup (in case of oracle)?

483


What is an example of a database?

478


Can you explain insert, update and delete query?

534


What is a sequence in a database?

496


What is a checkpoint in dbms?

557


What is rdbms and its features?

541