Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL from Single table is faster than multiple?
Message
De
17/01/2004 18:51:02
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
SQL from Single table is faster than multiple?
Divers
Thread ID:
00867859
Message ID:
00867859
Vues:
45
HI,
I would like to retrieve ALL IN/OUT transactions in my system such as sales, stock in, transfer and etc.
Previously, I opened all relevant tables, SELECT the records and UNION ALL into a single cursor. However I found it takes alot of resource.

Therefore, I plan to have an extra table that store only necessary fields, of ALL transactions. The records will be inserted/updated during data entry of every transaction (like duplicated). Then I can access all transactions records from this table everytime.

Do you think it would be faster?
Any comments?

Thank you
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform