Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Missing comma
Message
De
08/10/2008 07:35:44
 
 
À
08/10/2008 03:34:33
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01353560
Message ID:
01353599
Vues:
16
thank you very much,

>Between can be used as a function
>
>
?BETWEEN(1,0,2)
>
>or as a operator in SQL Where
>
SELECT Cur1.BlahBlah FROM MyCursor AS Cur1 WHERE Cur1.SomeField BETWEEN Start_Range AND End_Range
>
>You need a function:
>
>
>SELECT *, IIF(BETWEEN(edate , DATE() , GOMONTH(DATE(),+1)),1,0) AS limit,; 
>GOMONTH(DATE(),+1) - edate As Daysleft FROM Master WHERE edate >=DATE()
>
>
>>thank yoy fro reply,
>>Wrong syntax for BETWEEN, You nned to use a BETWEEN() function in IIF, not the SQL operator?? ihave no idea
>>
>>help again to fix it,
>>
>>thanks alot
>>
>>>>hi all,
>>>>
>>>>i get error message missing comma(,)
>>>>
>>>>
>>>>SELECT *, IIF(edate BETWEEN DATE() AND GOMONTH(DATE(),+1),1,0) AS limit,; 
>>>> GOMONTH(DATE(),+1) - edate As Daysleft FROM Master WHERE edate >=DATE()
>>>>
>>>>thanks
>>>
>>>Wrong syntax for BETWEEN, You nned to use a BETWEEN() function in IIF, not the SQL operator.
>>>
>>>Agnes
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform