Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Novice Needs a little help
Message
From
03/03/2011 21:02:54
 
 
To
28/02/2011 00:15:44
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6
OS:
Windows XP
Miscellaneous
Thread ID:
01502017
Message ID:
01502590
Views:
56
Hi Dave.

>Thank you, Doug. That works and is simple enough for even me to understand. My only problem now is that my database has almost 900,000 records in it, and it looks like this is going to take a very long time to run. Are you willing to share your more efficient way of doing this?

As Tore pointed out, make sure you have an index on Field2. Then you could use something like this (just winging it; you may have to tweak it):
update MyTable set Field1 = ExcelCursor.Field1 from MyTable join ExcelCursor where MyTable.Field2 = ExcelCursor.Field2
Doug
Previous
Reply
Map
View

Click here to load this message in the networking platform