Viewing 15 posts - 54,976 through 54,990 (of 59,078 total)
Craig,
You mean you fixed your problem? Would you mind posting the solution? This is a forum, after all ![]()
September 19, 2007 at 6:24 pm
Just curious... why names like "SP20"
... not exactly "self documenting"...
September 19, 2007 at 6:21 pm
Wow, Michael... not sure what happened there. I've seen that before (post gobbling others) but not when I've posted. Didn't even show what I posted. Matt might be right... might...
September 19, 2007 at 6:16 pm
Something like this will work...
ALTER FUNCTION [dbo].[GetSpecialsInCase] ( @TCaseId varchar(25) ) RETURNS VARCHAR(2000) AS BEGIN DECLARE @itemList VARCHAR(8000) SELECT @itemList = IsNull(@itemlist + ', ' + char(13), space (0)) + d.SpecialsDesc FROM (--=== Derived table "d" finds correct distinct SpecialsDesc SELECT...
September 19, 2007 at 6:09 pm
I know... preaching to the choir but I have to say it... Putting a better server on the dev side may not help that problem...
September 19, 2007 at 6:03 pm
Hey there, Jules... long time no see.
I think these folks are all steering you in the right direction... One instance and multiple databases would be my inclination, as well, for...
September 19, 2007 at 5:57 pm
Heh... like anything else, it only sucks when you don't know how ![]()
September 19, 2007 at 7:20 am
As suggested a couple of times... First SUM the minutes and THEN convert the result for display using one of the many methods shown.... you cannot aggregate non-numeric data with...
September 19, 2007 at 7:19 am
Yes... easily done... but you need to learn what ">>" means from the CMD prompt (or xp_CmdShell). Lookup "Using command redirection operators" in Windows help (under the Windows [Start] button...)
September 19, 2007 at 6:55 am
Nicely done (as usual), Michael. Simple, straight forward, nasty fast...
September 19, 2007 at 6:50 am
Heh... I understand what the rules are trying to say and (actually) very much agree with them, but I'm thinking that those definitions could be seriously misconstrued by those trying...
September 19, 2007 at 6:41 am
Chris has the right idea with the Numbers table... except he didn't carry it far enough... we can do the whole table without a loop.
First, as Chris had in his...
September 19, 2007 at 6:19 am
Setting a database's Auto_Shrink property to ON is probably not the best idea in the world. Something made it grow, you did something to reduce it's size, it's gonna grow...
September 19, 2007 at 5:15 am
By the way, if the definition of "set based" is...
- it opens the recordset (table in this case) once;
- it accesses each value in the recordset once;
- for any row...
September 18, 2007 at 10:15 pm
Heh... hell no
According to some of the people I work with, you need to rebuild the power company
September 18, 2007 at 8:33 pm
Viewing 15 posts - 54,976 through 54,990 (of 59,078 total)