Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is more efficient of the two
Message
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:
01135604
Views:
9
It's hard to say w/o knowing what "Do other stuff" doing. The second one looks cleaner to me.

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

Click here to load this message in the networking platform