Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is faster: insert from memvar or insert fields?
Message
 
 
À
26/07/2006 11:05:05
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01139366
Message ID:
01140214
Vues:
21
>Naomi,
>Probably you do not understand what I'm trying to say.
>-Keep your SP as is.
>-Copy functions outside to a prg also. In prg version move declaration outside generator function.
>-In your 'load' routines instead of leaving pk out to call default fill it from prg based one.
>Cetin

Ah, ok. I was concerned about removing this procedure from SP. Now, the PK field has GUID() as default value. If I want to use class procedure, say, this.CreateGUID(), then I would need to adjust every single insert command to include PK field in it.

That I can do. I also can keep HexToChar and BinToHex procedures in SP...
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform