Mike Yearwood
Toronto, Ontario, Canada
>>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only