Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Stored Procedures vs Code in Program/Form ? (VFP 5)
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00159411
Message ID:
00159489
Views:
17
>Hi all,
>
>What is the consensus out there (or the divergence? <g>) as regards
>using Stored Procedures vs having the code as part of one's
>program/form ?
>
>Thanks in advance.
>
>Michel Creppy.

I like using Stored Procedures for processes (such as calculating the unique key id for a table, etc...) that will be used uniformly in a DBC especially if you have multiple applications hitting or using the same DBC.

For me as a general guide, if it's universal for that DBC put it in the Stored Procedures. If it's application specific, keep it in the application. If you're using Classes and it's specific to the Class, put it in the Class.

Tom
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform