Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Stored Procedure always faster?
Message
From
03/09/2006 13:26:19
 
 
To
03/09/2006 11:27:41
Mike Yearwood
Toronto, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Database:
MS SQL Server
Miscellaneous
Thread ID:
01140442
Message ID:
01150608
Views:
32
>
>Yes, vfp "remote views" accessing real server-side "remote views". :)However, since all the processing is happening on the backend regardless, I'm not sure it would have better performance.

Actually aren't the SQL views local on the server ? In any case my understanding of the indexed view is that the aggregate totals for example would be maintained dynamically by the database as the tables involved were changed. Hence, when you asked for those totals as part of a remote view *no* further processing would be necessary - much as an index knows a rows location without a further sort. If the remote view were asking for an aggregate value, the value would have to be calculated on demand.


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.
Previous
Reply
Map
View

Click here to load this message in the networking platform