Viewing 15 posts - 46,366 through 46,380 (of 59,101 total)
BWAAA-HAAA! Excellent candidate for this year's SQL Darwin award...
http://www.sqlservercentral.com/Forums/Topic478330-8-1.aspx#BM480712
Scroll up from that post to see the hell he caused a bunch of people because he thought Sybase and SQL...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 27, 2008 at 11:12 am
I believe that I'd post that exact same thing on Simple Talk and let Phil and Robyn have a crack at it... they're the ones that wrote the method to...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 27, 2008 at 11:03 am
Jay Sapani (12/27/2008)
I Have A Table With 10 Lakh Records.
I Want To...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 27, 2008 at 10:46 am
ganeshmuthuvelu (12/27/2008)
Can someone help me in writing this update query without cursors?
Yep... and we don't need a WHILE loop, either (it would be just as slow)...
First things first... here's the...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 27, 2008 at 10:28 am
Dugi (12/27/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
December 27, 2008 at 9:59 am
Nah... the logic is pretty simple if you look at it right... the 23 is not being split by Min value... it's being split by the difference between the Min...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 27, 2008 at 9:42 am
Thanks for the feedback, Jeanangeo. Glad you got it solved.
--Jeff Moden
Change is inevitable... Change for the better is not.
December 27, 2008 at 9:27 am
Domagoj Orec (12/27/2008)
My goals would be:1. Close my buisness and leave this God forbidden country (Croatia)
5. Be Happy, at least for a one day in a year
Anyone that thinks...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 27, 2008 at 9:23 am
Grant Fritchey (12/27/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
December 27, 2008 at 9:12 am
Thanks Pravin... I always appreciate the feedback.
--Jeff Moden
Change is inevitable... Change for the better is not.
December 27, 2008 at 9:06 am
Just for grins, here's the CTE version without TOP...
;WITH
cteTally AS
(
SELECT ROW_NUMBER() OVER (ORDER BY ID)-1 AS N
FROM Master.sys.SysColumns
)
SELECT DATEADD(dd,(t.n)*14,'20090102') AS BiFriday
FROM cteTally...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 27, 2008 at 9:02 am
For anyone that reads this that may still be using SQL Server 2000, the system table called spt_Values that Madhivanan used has a bunch of different things in it depending...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 27, 2008 at 8:45 am
I'm still looking forward to the sky writing...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 26, 2008 at 6:54 pm
Heh... everyone gets all bent out of shape when someone uses a cursor in a place where it shouldn't be, but no one says boo when someone uses a cursor...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 26, 2008 at 6:41 pm
Thanks for the backup Lowell... I was thinking that I need to include a graphic and a better explanation... you saved me some work. Thanks, ol' friend.
--Jeff Moden
Change is inevitable... Change for the better is not.
December 26, 2008 at 5:47 pm
Viewing 15 posts - 46,366 through 46,380 (of 59,101 total)