Hi

I have a range of tables with rowid,value inside. Some have only few and some 
other can have up to a million values.
Now I will empty all the tables and vacuum the database. Which is the fastest 
way?


1.       A loop over all tables with "delete * from tablename" (this is what 
I'm currently doing)

2.       A loop over all tables with "drop table tablename" and "create table 
.."

3.       Choose 1. or 2. Depending on the amount of values inside the table

4.       Some other way unknown to me


Thank you for any hints.
Rene

Kernkraftwerk Goesgen-Daeniken AG
CH-4658 Daeniken, Switzerland

Diese Nachricht (inkl. Anhaenge) beinhaltet moeglicherweise vertrauliche oder 
gesetzlich geschuetzte Daten oder Informationen. Zum Empfang derselben ist 
(sind) ausschliesslich die genannte(n) Person(en) bestimmt. Falls Sie diese 
Nachricht irrtuemlicherweise erreicht hat, sind Sie hoeflich gebeten, diese 
unter Ausschluss jeder Reproduktion zu vernichten und den Absender umgehend zu 
benachrichtigen. Besten Dank.

Reply via email to