Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is faster: insert from memvar or insert fields?
Message
 
 
To
26/07/2006 11:05:05
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01139366
Message ID:
01140214
Views:
23
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform