Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BETWEEN() not returning correct results
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01321168
Message ID:
01321173
Vues:
15
> It is DATETIME() type. Does it need to be handled differently in the BETWEEN() clause?

Yes, it has to be handled differently because of the time part.

Assuming that lc_bdate and lc_edate are datetimes w/o time part
... 
  WHERE (  Inst_request.ir_orddte >= ?lc_bdate AND Inst_request.ir_orddte < (?lc_edate + 1) ;
...
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform