Viewing 15 posts - 45,391 through 45,405 (of 59,095 total)
Ok... coming full circle back to Martin's original problem...
Here's the test data...
USE TempDb --Just a safe place to run things
GO
--DROP TABLE dbo.YourTable
GO
--===== Populate the test table...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 31, 2009 at 3:18 pm
By the way... if anyone else wants to study the code, the original "puzzle" question and two sets of data are available at the following URL...
http://www.sqlmag.com/article/articleid/93462/sql_server_blog_93462.html
... and like I've done...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 31, 2009 at 2:12 pm
Nah... I take it back... not clever... freakin' brilliant. The key to this whole thing is the grouping. You've gotta be able to group each "cluster" of rows...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 31, 2009 at 1:47 pm
I took a look at the winning solution for that contest... pretty clever.
--Jeff Moden
Change is inevitable... Change for the better is not.
January 31, 2009 at 12:53 pm
Jack Corbett (1/31/2009)
The only way to...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 31, 2009 at 9:11 am
dubem1 (1/31/2009)
Thanks for the solution, it's not simple, I will try it.
Yesterday I browse the web to find by myself a...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 31, 2009 at 8:59 am
I still would like to know the business reason behind this...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 30, 2009 at 9:21 pm
Oh, I absolutely agree... when someone said that SSC would have 10-15 million members in 5-10 years, I made the correction that it would have 200 users and 10-15 million...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 30, 2009 at 9:18 pm
LeeBear35 (1/30/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
January 30, 2009 at 8:36 pm
Martin Stephenson (1/30/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
January 30, 2009 at 8:35 pm
dubem1 (1/30/2009)
I have a Student table in relation with an exam table. So each student has done n exams.
Each exam has a final cote (the result code in my...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 30, 2009 at 7:22 pm
AH! Now that's more like it! Long live "hoopla"! 😛
--Jeff Moden
Change is inevitable... Change for the better is not.
January 30, 2009 at 6:53 pm
Thanks for the success story, Gabriel. Like I said, I've not used partitioned tables in production, yet. From all the hoopla in BOL, I have to say I'm...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 30, 2009 at 6:33 pm
tosscrosby (1/30/2009)
Uh-Oh, Gail's got a light-saber (SP?)..........time for the DARK SIDE to beware.
New haircut, too... although she might try using a little face wax. 😛
--Jeff Moden
Change is inevitable... Change for the better is not.
January 30, 2009 at 6:15 pm
If someone or something has the file open when your code runs, it will give such an error message. Bouncing the server seems to clear it because the file...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 30, 2009 at 5:53 pm
Viewing 15 posts - 45,391 through 45,405 (of 59,095 total)