Viewing 15 posts - 61 through 75 (of 107 total)
I wound up using a couple of IF Else statements.
IF @type='Auto'
BEGIN
Select *
From Table
Where Class in ('RD','MD','RS')
END
IF @type='Industrial'
BEGIN
Select *
From Table
Where Class in ('ID','IW','JP')
END
ELSE
BEGIN
Select *
From Table
END
October 8, 2009 at 12:58 pm
dsdeming (10/8/2009)
How about this: SET @auto='MD,RD,RS'
I've tried that, but what it does is treat everything inside the ' ' as 1 value of MD,RD,RS instead of the 3 separate...
October 8, 2009 at 11:28 am
to answer my own question:
DECLARE @OldUserID uniqueidentifier
DECLARE @NewUserID uniqueidentifier
SELECT @OldUserID = UserID FROM dbo.Users
WHERE UserName = 'MYDOMAIN\someuser'
SELECT @NewUserID = UserID FROM dbo.Users
WHERE UserName = 'MYDOMAINewuserhere'
UPDATE dbo.Subscriptions
SET...
August 17, 2009 at 8:34 am
I fixed it. I deleted the virtual directories from IIS and recreated them in the Reporting Service Configuration Manager. After that I was able to configure the Web...
August 17, 2009 at 7:39 am
The SMTP works fine. Running Svr 2003. I can send myself emails using database mail.
August 17, 2009 at 7:08 am
Paul White (6/24/2009)
For example, if the available percentages were 35%, 20%, 15%, 10%...
June 24, 2009 at 7:59 pm
I think that is going to work.
Thanks
June 18, 2009 at 2:15 pm
I'm not sure what you are asking for. This?
If ShopDay between 1 and 5 then exec sp_ClassA
If ShopDay between 6 and 18 then exec sp_ClassB
If ShopDay between 19 and...
June 18, 2009 at 1:54 pm
Well I do not understand why using the multivalue parameter caused the scans it did when hardcoding the same values works just fine, but creating a indexed temp table worked...
June 5, 2009 at 2:59 pm
The tables I can copy. I start running into problems when I try to copy the views. The views are using udf and uxp procedures and it looks...
April 2, 2009 at 9:57 am
I am trying to replicate the Application DB, but the application has modifications to the Master DB as well. I have tried to copy, but I keep getting this...
April 2, 2009 at 7:20 am
That did the trick. Thanks
March 25, 2009 at 11:35 am
Sorry, I'm not always good at putting my questions down in words.
From msdn.com
"If you are distributing reports within an intranet and you are using an SMTP gateway to...
March 25, 2009 at 7:26 am
i am not designing a table or a database. the problem was not how the table was designed. the problem was how to use the tables that i have...
March 10, 2009 at 5:16 pm
I got it with the CHARINDEX. As soon as I saw your post I knew that was the key, I just couldn't get it to work. Turned out...
March 10, 2009 at 1:08 pm
Viewing 15 posts - 61 through 75 (of 107 total)