Viewing 15 posts - 2,686 through 2,700 (of 2,757 total)
I agree with everything that's been said in this forum . . .
1) Cursors are BAD, BAD, BAD. If you can come up with a strategy where you don't...
January 5, 2010 at 9:13 am
polarbear101 (12/30/2009)
First i wish i could tear the ears of this programmer as long as Mr. Spock's ears.....
LOL!!!!!!!!!!!!!!!!
I suspect there are many people (myself included) who share your sentiment!!!
December 30, 2009 at 8:48 am
Hmmm . . . there's a function called CHAR that might be what you're asking about. (Not sure if this is what you need, but what the heck.)
What...
December 30, 2009 at 8:11 am
Ach du Lieber, ich habe meine Deutsch nicht รผben! (I hope I said that right!)
Off the top of my head, I'd suggest checking the collation settings.
December 30, 2009 at 7:44 am
I see the Mess . . . uhh, Mets got Jason Bay . . .
December 30, 2009 at 7:39 am
I'm not having much luck with this, but here's where I'm going with it.
Using the @school table that we defined earlier, I started with this query:
select ID, row_number() over (order...
December 30, 2009 at 7:27 am
Justin James (12/29/2009)
However, it is RBAR, and INCREDIBLY SLOOOOOW!
Which is why I'm making every effort to avoid RBAR. (If I was coding this in VB.NET or something similar, I'd...
December 29, 2009 at 1:12 pm
Man, this would make for a good T-SQL challenge!
Now I'm really determined to figure this out!
December 29, 2009 at 11:44 am
Justin James (12/29/2009)
As I looked through my data further (what I provided was just a subset), I see that the grouping of information change throughout it. ๐
Argh! My model...
December 29, 2009 at 11:08 am
Steve Jones - Editor (12/29/2009)
Just got my email about the new season this morning for the old man's league. We report in 4.5 weeks!
Nice! I wish I could play...
December 29, 2009 at 11:00 am
lobbymuncher (12/29/2009)
SELECT ((UniqueID-1)/6)+1 AS CourseBlock, [ID], ColumnName, [Text]
FROM YourTable
),
CTE2 AS (
SELECT CourseBlock,
ROW_NUMBER() OVER(PARTITION BY CourseBlock ORDER BY [ID]) AS CourseElement,
...
December 29, 2009 at 10:42 am
Thanks . . . actually, what I was looking for was this (I'm posting this here for anyone else who wants to try this problem):
declare @school table ([ID] int,...
December 29, 2009 at 9:02 am
I'd like to take a crack at this. Can you put your data into an actual text format (not an image) so I can try it out? (It'd...
December 29, 2009 at 8:30 am
Only . . .
select cast(datediff(d, getdate(), '2/17/2010') as char(2)) + ' days'
. . . until pitchers and catchers report! ๐
December 29, 2009 at 7:11 am
Farbeit for me to encourage a cross-post, but you'll probably get a better answer if you ask this in the SQL 2000 forum, rather than the SQL 2008 forum.
December 29, 2009 at 7:03 am
Viewing 15 posts - 2,686 through 2,700 (of 2,757 total)