Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is more efficient of the two
Message
From
12/07/2006 06:50:24
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
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:
01135618
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.

Maybe a third one:) I read that it's a kind of replace operation. First + an Update SQL with inner join might be faster,test.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform