Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Stored Procedure always faster?
Message
De
31/08/2006 16:35:14
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
31/08/2006 16:25:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Versions des environnements
Database:
MS SQL Server
Divers
Thread ID:
01140442
Message ID:
01150222
Vues:
38
>>http://weblogs.asp.net/fbouma/archive/2003/11/18/38178.aspx

>Thanks very much for posting this blog reference. Interesting stuff.
>
>For clarification : in the SQL World when they talk about Dynamic SQL isn't that a way of saying queries generated by the business layer - i.e. outside of SQL Server - i.e. SPT or Remote views?

That's how I understood it. We aren't the only ones who build SQL commands on the fly. Though I don't see how can the poor things live without textmerge ;).

> If I cam using remote views, am I sending to the backend what SQL Serverheads would consider to be Dynamic SQL ?

Sort of. For the SQL server it does come as a dynamic thing; for VFP, it's pretty much prepared in advance, somewhere in the definition of the view. Looking at a dct file of a views-only dbc, I didn't see any insert or update statements, but I found arrays of fields' update fields (i.e. what's the field to update), so it is at least pre-parsed.

So while the SQL commands VFP is sending to the server for a view are dynamic, they are at least always the same for a given view, only the values change.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform