Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Convert into sql
Message
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2000 Pro
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01473321
Message ID:
01473339
Views:
45
>>>
>>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform