Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SPT vs Remote View?
Message
 
 
To
19/05/1999 20:58:48
Mike Yearwood
Toronto, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00220662
Message ID:
00220667
Views:
28
>I've been using remote views primarily. I can use SQL Pass-thru and I do for executing stored procedures on MS-SQL Server. So what's the advantage of a remote view that SELECT * FROM TABLE over an SPT that does the same command?
>
>Is updating tables using SPT faster than updating using remote views?
>
>How does optimistic/pessimistic buffering affect performance in updating large #'s of records?
>
>Is there a set of guidelines to follow in determining which approach to take per scenario?

Personally, I think using views is more efficient than SPT for updating a lot of records. Plus you do not have to code all the updates as you do with SPT.

If I only need to change data in a small number of records and can accomplish with 1 SQL command [based on the WHERE clause], I will use SPT.

As for buffering, views can only be optimistically buffered. Usually I use table buffering.
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform