Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Nicer way of doing this
Message
From
02/01/2015 03:09:12
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Environment versions
SQL Server:
SQL Server 2014
Application:
Desktop
Miscellaneous
Thread ID:
01612941
Message ID:
01612963
Views:
51
>Hi all, the query below produces a count and summation of monies by month, it works perfectly but *pretty it ain't*, anyone know of a *nicer* way of doing this ?

If you have to have 24 columns, then your statement has to have those 24 rows. The nicer way would require reforming the calendar, and perhaps changing the orbit of Earth to produce a year of 256 or 512 days... so it's easier to leave as is.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform