Viewing 15 posts - 45,136 through 45,150 (of 59,063 total)
vaibhav_vasani (2/15/2009)
I working on my final year project ... no matter if copy code.
So much for the first rule of DBA's... ethics.
February 15, 2009 at 6:50 pm
But, I liked the parenthesis... 😛
February 15, 2009 at 6:48 pm
Be very careful... the recursive CTE method will be slower than even a poorly formed cursor.
February 15, 2009 at 10:11 am
Looks fine to me, Andrew. Sorry for the panic, but I went into a panic when I saw that the group numbers weren't unique across items when I was...
February 15, 2009 at 9:14 am
Mark (2/12/2009)
DECLARE @PerDay INTSET @PerDay = 2
SELECT
ORDER_DT = DATEADD(d,t1.N-1,DATEADD(yy,DATEDIFF(yy,0,GETDATE())-1,0)),
ORDER_QTY = ABS(CHECKSUM(NEWID()))%1000+1, --<== Stole from Jeff
...
February 14, 2009 at 11:17 pm
Ok... now I trust it... just gotta remember to NOT let the fact that GroupNums aren't unique across items but the combination of Item and GroupNum works as expected when...
February 14, 2009 at 9:52 pm
Yeah... that fixes it... or at least for this particular problem...
;WITH
cteRowNumItem AS
(
SELECT SampleDate,
Item,
...
February 14, 2009 at 8:50 pm
Jeff Moden (2/14/2009)
RBarryYoung (1/31/2009)
February 14, 2009 at 8:41 pm
bkDBA (2/14/2009)
Brian KarcherI'm the IT Manager at Progessive Metal.
Thanks, Brian. My short term memory is pretty well shot... correct me if I'm wrong, please... you weren't one of the...
February 14, 2009 at 8:18 pm
RBarryYoung (1/31/2009)
February 14, 2009 at 8:11 pm
Max (2/14/2009)
I thought people got that impression because Unix was a slim, unbloated platform whereas windows was FAT :w00t:
😛
February 14, 2009 at 6:03 pm
It's obvious that you took the path to the dark side or you would have simply said that you used the Identity column. World of hurt awaits you with...
February 14, 2009 at 6:01 pm
No problem... looking back at it, I can see how someone might mistake it. Thanks for the feedback, Andrew.
February 14, 2009 at 5:42 pm
Viewing 15 posts - 45,136 through 45,150 (of 59,063 total)