Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Client/Server without views
Message
De
10/03/2000 09:42:43
 
 
À
09/03/2000 20:57:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00343631
Message ID:
00344163
Vues:
26
>What's the difference between calling a stored procedure and submitting an ad-hoc query from your point-of-view. I'm not trying to be argumentative - honest.
>
>-Mike

Mike,

A parameterized view is not an ad-hoc query. When using remote views, the basic structure never changes, only certain parameters to limit the result set. This type of view can be optimized with SQL Prepare. Ad-hoc queries, on the other hand, are queries that are written on-the-fly. For those type of queries, SQL Passthrough should be used. When should stored procedures be called? I believe they should be called when many table need to be joined or a lot of data processing needs to happen on the back end before the data is returned to the client. It's mish-mash world where experience and using the right tools for the right job requires sound judgement and a basic understanding of both you client, server and development environment. Is there is no pure and perfect solution no matter what your proclivity is.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform