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

Explain the role of metadata for the three-layer architecture.

708


What are the various Database states.

734


Differentiate between ‘delete’, ‘truncate’ and ‘drop’ commands.

722


Explain dml (data manipulation language)?

666


Do we consider null values the same as that of blank space or zero?

724


Explain some of the uses of openedge architect features useful for a developer?

678


What are the three levels of data abstraction?

766


Explain 5nf?

710


What is a database report?

674


What are the different stages in 'data warehousing'?

650


How do I create a database?

643


What is big data in database?

635


Enlist various types of interactions created by dbms?

680


What is database management system with example?

670


What is dba in dbms?

719