Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQLServer7 Group by date
Message
De
16/07/2001 21:16:17
Edward See
Magicalogic Consultancy System
Quezon, Philippines
 
 
À
12/07/2001 11:34:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00529550
Message ID:
00531322
Vues:
11
>>>anyone,
>>>how do you write an SQL statement to be passed to sqlserver7 to group by date only without the time in datetime interfering in the process ?
>>
>>select < aggregate >, < aggregate > from MyTable group by Convert(Char(10),MyDatetimefield,101)
thanks larry
Use things, not people. Love people, not things
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform