Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is more efficient of the two
Message
From
13/07/2006 02:41:29
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 8 SP1
Database:
MS SQL Server
Miscellaneous
Thread ID:
01135592
Message ID:
01135936
Views:
11
>Hi all
>
>What is more efficient:
>
SQL PT dataset (variable no of records but within a range of records)
>INDEX on a field
>
>SCAN
>   SEEK(in "MySQLPTCursor")
>   Do other stuff
>ENDSCAN
>
>
>SCAN
>   SQL PT single record as needed
>   Do other stuff
>ENDSCAN
>
>Please advise.

With an exclusive environment the first is faster and cleaner.

With a not exclusive ( multiuser ) env.
the two ways are completely different, and therefore it doesn't have sense compare they.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform