Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Proper technique for Functions/Procedures
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00095133
Message ID:
00095518
Vues:
22
>-- snip ---
>
>But here's another thought.....and I'm wondering if anyone else has done this;
>This is for private datasessions and because the database needs a separate open instance for each one, you could simply put your functions in the database as stored procedures guaranteeing that they would be accessible in the proper datasession. Anyone ever put generic functions in as stored procedures?
>
>Steve

Steve:

Sure. All the time -- but only procedures that are needed for some functionality very specific to the database. Otherwise you load up on general procedures that could better be placed in a general procedure or function library.

I wonder if George would share with us more of his findings on the relative speed of procedures vs methods -- especially any speed difference among calls to methods at differenct levels in the class and container hierarchies.

George: I'd bet this is worth an article in FoxTalk.

Regards,

JME
Jim Edgar
Jurix Data Corporation
jmedgar@yahoo.com

No trees were destroyed in sending this message. However, a large number of electrons were diverted from their ordinary activities and terribly inconvenienced.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform