Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Convert into sql
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2000 Pro
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01473321
Message ID:
01473339
Vues:
46
>>>
>>>UPDATE res SET grade = ICASE(perc>=80, "A+", perc>=70, "A",...)
>>>
>>>
>>>>can you give more help
>>thanks Sergey
>
>If table is big REPLACE ALL may be faster
>
>REPLACE ALL grade WITH ICASE(perc>=80, "A+", perc>=70, "A",...)
>
Replace ALL places a lock on the table. We used SCAN replace ENDSCAN because of that problem.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform