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:
01473336
Views:
53
>>
>>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",...)
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform