Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL advice
Message
 
À
08/10/1997 14:02:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00053745
Message ID:
00053854
Vues:
33
>Hello, All !
>I'm looking for the advice on SQL. I am SELECTing records from a table. Let's say I have fields F1 and F2, and F1 must be true, if for the PREVIOUS record in the resulting set field F2 == "smthg". Is there any simple way to do this using SQL?
>TIA,
>Alex.

run sql to cursor. then use the cursor in another area (so you can write to it), and scan the cursor making the F1 field true if next rec F2 == 'smthg'
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform