Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Group By Having Problems
Message
 
 
À
22/03/2005 11:37:36
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
00998084
Message ID:
00998146
Vues:
15
>>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)
>
>Thank reduced the time to run the Select from about 10-15 minutes to about
>10-15 seconds.

Interesting. Did you also replace ShipDate calculation in the column list with this exprerssion?
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform