Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is more efficient of the two
Message
From
12/07/2006 07:02:07
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:
01135623
Views:
14
>Hi Cetin
>
>>Maybe a third one:)
>
>*g*
>
>>I read that it's a kind of replace operation. First + an Update SQL with inner join might be faster,test.
>
>Yeah, a replace but in the local cursor for which the scan is all about. The SQL is parent / lookup for the local cursor.

Even a fourth one comest o mind. Why multiple replaces in a scan..endscan when one could do. ie:

select local
replace someField with remote.someField for seek(local.someKey,'remote','keytag')

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