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 is a string in database?

479


Explain the term entity type in dbms?

509


What is network database?

520


What is a distributed database system?

515


How do you link a spreadsheet to a website?

474






What is the main purpose of database?

493


Explain what is meant by asymmetrical protocols?

482


What is meant by database system?

496


How do I keep my database up to date?

509


What is foreign key in database?

497


How big is a big database?

470


What is progress actional?

510


What is the role of tables in database?

474


What is the benefit of database?

487


What is super key in dbms?

497