Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL server datetime field
Message
De
24/01/2003 10:51:36
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
SQL server datetime field
Divers
Thread ID:
00745071
Message ID:
00745071
Vues:
52
On a datetime field I need to get only the date, not the time.

I've tried LEFT(CAST(datetimefld AS CHAR),11) but it gives me, of course, a char field that I cannot sort by correctly.
How can I get this as a DATE ?
Jan 11 2003 looks nice for what I want, but again, I cannot order it in this way
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform