Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Group By Having Problems
Message
 
 
À
22/03/2005 10:36:54
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
00998084
Message ID:
00998106
Vues:
18
>>Add
GROUP BY convert(char(11),ft.trans_date,1)
to your select
>
>Folks we have a winner!
>
>Thanks ^256

Jim,

BTW, here's the simplest way to get datime value w/o time portion
GROUP BY DATEADD(day, DATEDIFF(day, 0, ft.trans_date), 0)
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform