Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Convert into sql
Message
De
21/07/2010 16:30:22
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
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:
01473377
Vues:
31
>Can these codes change into sql.
>
>
>sele res
>SET ORDER TO CODE
>GO TOP
>DO WHILE .NOT. EOF()
>IF PERC>=80 .AND. PERC<=100
>	REPL GRADE WITH "A+"
>ENDIF
>IF PERC>=70 .AND. PERC<79.99
>	REPL GRADE WITH "A"
>ENDIF
>.............
>
Update res ;
  SET grade = Icase(;
  PERC>=80 .And. PERC<=100, "A+",;
  PERC>=70 .And. PERC<=80, "A") ;
  WHERE PERC >= 70
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform