Viewing 15 posts - 5,086 through 5,100 (of 7,484 total)
You can do this quite easily using a tally table; read Tally Tables[/url] if you are not familiar with these.
It's easy if the periods for each Id can't cross...
December 3, 2011 at 7:37 pm
select dateadd(DD,-1,dateadd(MM,@uptomonth,cast(str(@year,4)+'-01-01'as date)))
December 3, 2011 at 6:16 am
Stefan Krzywicki (12/2/2011)
Ninja's_RGR'us (12/2/2011)
GSquared (12/2/2011)
Ninja's_RGR'us (12/2/2011)
Happy putzy week-end (I hope I got the meaning right!).
Definition 1: unintelligent person: somebody regarded as very unintelligent and unpleasant
But I was just quoting Blazing...
December 2, 2011 at 12:45 pm
GilaMonster (12/2/2011)
Stevie gonna lovez uz.
Y? No pantz yet, so nos genst z rulz.
December 2, 2011 at 8:58 am
Brandie Tarvin (12/2/2011)
P.P.S.Send more humor (and cheezburgers)! I'm having month end nightmares...
:pinch:
Iz 2 errly inz z month 4 endz ov month nitemayorz, today ownly sekunz. Or u meanz frun...
December 2, 2011 at 8:56 am
GSquared (12/2/2011)
Brandie Tarvin (12/1/2011)
GSquared (12/1/2011)
December 2, 2011 at 8:52 am
Steve Jones - SSC Editor (12/2/2011)
brrrr, cold and windy
Sounds like Chicago
December 2, 2011 at 8:46 am
Excellent question. A good one for Friday - nice and easy.
I don't understand why so many people (184 out of 370 so far) got it wrong.
It must seem blindingly...
December 2, 2011 at 8:43 am
Dev (12/2/2011)
SQLRNNR (12/1/2011)
froyoFrodo
Samwise
But this sequence raises a question: do Hobbits eat frozen yoghurt?
December 2, 2011 at 4:04 am
Hugo Kornelis (12/1/2011)
Carla Wilson-484785 (12/1/2011)
I really don't understand why someone would want to do a comparison that is based on the data type.
Well, I guess the issue is that the...
December 1, 2011 at 12:48 pm
bitbucket-25253 (11/30/2011)
November 30, 2011 at 10:39 am
SQLRNNR (11/30/2011)
L' Eomot Inversé (11/30/2011)
Today's QotD and my response to comments on it could be taken as an object less...
November 30, 2011 at 10:17 am
Gerardo Galvan Castro (11/30/2011)
In the e-mail newsletter the QotD did not state it was for SQL Server 2008 and later, so I tested under SQL Server 2005 (the...
November 30, 2011 at 8:01 am
Pain, doom, disaster, or maybe I'm just having a bad day.
Today's QotD and my response to comments on it could be taken as an object less in how to screw...
November 30, 2011 at 7:52 am
Viewing 15 posts - 5,086 through 5,100 (of 7,484 total)