Viewing 15 posts - 46,726 through 46,740 (of 59,101 total)
BWAAA-HAAAA-HAAA! OMG!!! ... If you think the posted questions are getting worse, you aint seen nothin' compared to real life... here's some code I just found in one of...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 9, 2008 at 12:56 pm
If the [Field Length] isn't character based (and, it shouldn't be), you'll probably have to add an explicit conversion to [Field Length]... but it is the classic way to do...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 9, 2008 at 5:11 am
Absolutely agree... but it won't change their mind...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 9, 2008 at 4:57 am
30 seconds for only 4K records? Take a look at the following...
http://www.sqlservercentral.com/articles/Test+Data/61572/
--Jeff Moden
Change is inevitable... Change for the better is not.
December 8, 2008 at 8:32 pm
mm... I'm confused... you say the time format is "tttt", but you have six characters for the time in both examples and one of the sets of 6 looks like......
--Jeff Moden
Change is inevitable... Change for the better is not.
December 8, 2008 at 8:23 pm
Or, you could do a cross-tab...
http://www.sqlservercentral.com/articles/T-SQL/63681/
--Jeff Moden
Change is inevitable... Change for the better is not.
December 8, 2008 at 8:08 pm
Dan Epps (12/7/2008)
Jeff Moden (12/6/2008)
Can't the TEXT column be changed to a VARCHAR(MAX) column?
Not without tons of mods the the forum software. We're only talking about a half-million or...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 8, 2008 at 7:57 pm
Same here... thanks for the feedback. Sorry I got side tracked...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 8, 2008 at 7:45 pm
No apology necessary... I'm not the one that just put a cursor into production.
--Jeff Moden
Change is inevitable... Change for the better is not.
December 8, 2008 at 7:42 pm
'Zactly... 🙂
--Jeff Moden
Change is inevitable... Change for the better is not.
December 8, 2008 at 7:21 pm
Oblio Leitch (12/8/2008)
That looks pretty good, but I was just working with a reduced dataset as an example. I need to expand it to use groups of IDs. ...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 8, 2008 at 7:10 pm
rbarryyoung (12/8/2008)
Anyway, this corrected version gives...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 8, 2008 at 7:08 pm
rbarryyoung (12/8/2008)
Kris (12/8/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
December 8, 2008 at 7:01 pm
Alan Naylor (12/8/2008)
Ths is the correct solution.
No... it's not... not if it has a cursor in it. 😉 But, if you would rather do that than posting the...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 8, 2008 at 12:36 pm
Kris (12/8/2008)
Do you have any advice on increasing the performance of this query?
Heh... yeah... use the CrossTab code instead. 😉
The reason it must dragged into a spread sheet is because...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 8, 2008 at 12:28 pm
Viewing 15 posts - 46,726 through 46,740 (of 59,101 total)