Viewing 15 posts - 1,021 through 1,035 (of 1,183 total)
Well, fortunately I do have 2k5 so I'll take the time to create my proc using your solution and post the results. Besides, even if it doesn't work better it's...
April 6, 2007 at 10:12 pm
Jeff,
FIRST, thank you for the reply!
SECOND, it's funny. Right when you posted this solution I came upon my own. I'm anxious to see which performs better. not that this is...
April 6, 2007 at 10:08 pm
LOL, it's homework alright, but from work!
I'll just post my section of the procedure. I think that should be enough to show...
April 6, 2007 at 8:32 pm
Peter,
I'm curious to your thoughts on my solution. My personal opinion is that it's easier to read/understand.
Jason
April 6, 2007 at 8:16 pm
What about ...
SELECT
'$0-$10' = Sum(CASE WHEN orderAmount BETWEEN 0 AND 9.99 THEN 1 ELSE 0 END)
,'$10-$15' = Sum(CASE WHEN orderAmount BETWEEN 10 AND 14.99 THEN...
April 6, 2007 at 8:03 pm
A yardstick is better. It doesn't completely incapacitate the user but still gives a nice sting.
April 6, 2007 at 4:30 pm
I've found that carrying a yard stick and smacking them upside the head when they forget to be the best training tool around.
April 5, 2007 at 6:06 pm
The GDIPlus.dll should be on all windows machines by default. It's not something you install or would have installed in the past.
I would suggest trying the solution I posted in...
April 5, 2007 at 3:43 pm
Set your parameter default to...
=DateTime.Today.AddMonths(-1)
and that should do it.
April 3, 2007 at 5:31 pm
Michael,
GOOD QUESTION!!! It would be nice if you could perform an UNPIVOT on multiple columns at the same time. I don't think you can, but the code below seems to...
April 1, 2007 at 2:07 pm
Just use this script and add the primary key through Enterprie manager...
CREATE TABLE [dbo].[Subscription_History](
[nDex] [int] IDENTITY(1,1) NOT NULL,
[SubscriptionID] [uniqueidentifier] NULL,
[ScheduleName] [nvarchar](260) COLLATE Latin1_General_CI_AS_KS_WS NULL,
[parameterSettings] [varchar](8000)...
March 23, 2007 at 11:04 am
If your talking about SQL 2005 then it's in SQL Management Studio.
March 21, 2007 at 9:21 pm
I'm not completely clear on the question, but I think you need to be in Query Analyzer
March 21, 2007 at 9:19 pm
A few questions…
1. What field(s) constitutes a “duplicate”? You may also want to look up examples of IF EXISTS.
a. If it’s a single field,...
March 21, 2007 at 9:13 pm
Viewing 15 posts - 1,021 through 1,035 (of 1,183 total)