Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Stored Procedure always faster?
Message
De
02/09/2006 18:52:01
 
 
À
31/08/2006 16:35:14
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Versions des environnements
Database:
MS SQL Server
Divers
Thread ID:
01140442
Message ID:
01150567
Vues:
34
>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.

Yes, I get that part. In our framework, we implement a lot of stuff for dynamic view parameters of remote views generating SQL queries on the fly. Of course the back end just sees the query coming in from the connection class through the odbc.

I guess this means remote views are as "precompiled" and cached as SPs. Cool. That is just another reason why it the Fox and a SQL backend are a pretty potent combination.


Charles Hankey

Though a good deal is too strange to be believed, nothing is too strange to have happened.
- Thomas Hardy

Half the harm that is done in this world is due to people who want to feel important. They don't mean to do harm-- but the harm does not interest them. Or they do not see it, or they justify it because they are absorbed in the endless struggle to think well of themselves.

-- T. S. Eliot
Democracy is two wolves and a sheep voting on what to have for lunch.
Liberty is a well-armed sheep contesting the vote.
- Ben Franklin

Pardon him, Theodotus. He is a barbarian, and thinks that the customs of his tribe and island are the laws of nature.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform