Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating a light version of a database
Message
De
07/07/2004 17:54:52
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00921520
Message ID:
00921667
Vues:
19
>I do not think, we have an empty copy of this database, but I'm not certain.

My suggestion is to have one. But you can also use gendbc.

>But I've just thought of the simpler approach: Copy the whole database to the local disk, run necessary selects, zap tables, that need to be zapped and append from cursors.

Yes, that is an easy way to create the empty database. Probably safer than gendbc.

>The only problem now is in select statement. Would TOP 2 work?

I don't think it works within a group. Personally, I would just write an old-fashioned program with loops.

>BTW, I think, I missed that thread. Can you give a link?

I don't remember right now; I suggest you search.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform