Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Stored Procedure always faster?
Message
From
03/09/2006 11:27:41
Mike Yearwood
Toronto, Ontario, Canada
 
 
To
03/09/2006 11:21:07
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Database:
MS SQL Server
Miscellaneous
Thread ID:
01140442
Message ID:
01150599
Views:
37
>>>I am interested in combining the power of SQL views for stuff like calculated totals that can be maintained as the underlaying tables are changed in order to reduce the amount of stuff that has to come over in a query, but remote views do seems more flexible that approaches that were pushed pretty hard a number of years ago saying Fox/SQLServer apps should completely relie on SPs.
>
>>I'm at a loss to think of an example where a view would be better than a dynamic query.
>>
>
>I didn't express what I said about SQL views very well. I was talking about using an indexed SQL View ( with schemabinding ) for scaler aggregate functions so the totals on the back end are basically always current and can be accessed from remote views without further processing and network traffic. It seems that would be a good example of combining what the front end does best ( creating dynamic queries ) with the kind of pre-processed data handling that is best done on the back end.
>
>Did that make more sense?

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

Click here to load this message in the networking platform