Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Novice Needs a little help
Message
De
03/03/2011 21:02:54
 
 
À
28/02/2011 00:15:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows XP
Divers
Thread ID:
01502017
Message ID:
01502590
Vues:
57
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform