Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get VFP date field from a Oracle date field in SQ
Message
 
À
23/06/2004 12:40:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00916485
Message ID:
00916499
Vues:
7
Try the TRUNC() function in your Oracle query. You can pass date/time format as the 2nd parameter, but leaving that out seems to default to getting just the date portion. E.g.:
SELECT TRUNC(myDateTimeColumn) AS MyDateColumn
...
>Hi there I am using Oracle as the back end. But date type in Oracle stores time whether you want it or not. I need to just have the date portion coming back from Oracle in a SQL statement for comparison with a date value.
>
>Any ideas?
>
>Jason
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform