Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sql
Message
 
À
08/02/1999 01:20:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Re: Sql
Divers
Thread ID:
00184976
Message ID:
00184979
Vues:
31
>Hy
>
> It's my first sql question
>
>This is good
>SELECT *, .T. AS cFlag FROM hold WHERE !DELETED() INTO CURSOR tmpHold1
>?????????????
>But I want compare a field in the same select
>
>SELECT *, .T. AS cFlag FROM hold WHERE hold.data_prod >= &lcDate1;
> AND hold.data_prod <= &lcDate2;
> and !DELETED() INTO CURSOR tmpHold
>
>How can I do this
>
>Pierre P
>
>Thanks

Pierre --

If lcDate1 and lcDate2 are local variables, you don't need to use macro substitution (&).

Bill
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform