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

What is dbms used for?

533


What is stored procedure in database?

512


Mention the types of join?

491


What are the 5 databases?

472


What is cold backup and hot backup (in case of oracle)?

478






What is index hunting and how does it help in improving query performance?

1506


Enlist the types of cursor?

559


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

610


dear all,Greetings of the day.. i have a small query plz rply if u knw.. i have done MBA Hr and B.sc microbiology. i am very much interested in it industry,so i am planing to go with oracle HRMS module,can it be work out??

1847


Mention some advantages of using dbms.

502


What is the best database management system?

484


What is a clause in terms of sql?

580


What do you understand by sub-queries in sql?

491


What is 1nf 2nf 3nf in dbms?

494


Mention the differences between the clustered and non-clustered index

498