Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Group by date portion of datetime
Message
De
28/04/1997 11:21:16
 
 
À
24/04/1997 19:59:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00029545
Message ID:
00029911
Vues:
28
>>Does anyone know how to group a result set on just the date portion of a datetime column using SQL pass-through?
>
>Just select one more column: datepart as date(datetime field) and group on this column.
>
>Vlad

The DatePart function in MS SQL server doesn't allow you to return the entire date portion. I would have to concatenate the year, month and day portions and I'm hoping to avoid that.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform