Viewing 15 posts - 1 through 15 (of 258 total)
Thanks for all the information. I was leaning towards the '= ' and you confirmed what i thought.
August 8, 2008 at 7:50 am
I am sorry I figured it out. I found out the issue it was the parameters were giving me back exactly what I told them too. Sorry to have wasted...
August 6, 2008 at 4:02 pm
Yes to all that. Here is the script in it's entirety:
DECLARE@ConsultantIDnVarChar(50)
DECLARE@AchieveLevelStartint
DECLARE@AchieveLevelEndint
DEclare @Level10bit
Declare @Level20bit
Declare @Level30bit
Declare @Level40bit
Declare @Level50bit
Declare @Level60bit
Declare @Level70bit
Declare @Level80bit
DECLARE @LineFilterVarchar(100)
DECLARE@statusvarchar(100)
DECLARE@MTDGreaterThanDecimal
DECLARE@MTDLessThanDecimal
DECLARE @QTDGreaterThanDecimal
DECLARE @QTDLessThanDecimal
DECLARE @StateVarchar(20)
DECLARE...
August 1, 2008 at 3:47 pm
Actually that last statement worked fine but in order to get it functional I need to add it into my WHERE Clause then I can just get rid of that...
August 1, 2008 at 3:40 pm
The @Level paramters are passed into the proc by the user. they can display which levels they want the proc to return. Each @level is a bit field.
I tried the...
August 1, 2008 at 3:28 pm
Ok let eliminate the dynamic SQL. How would I introduce the @Level into the WHERE clause?
August 1, 2008 at 2:06 pm
OK those statements look the same to me. But I was thinking I should be able to filter them out in my temp table before I even get to the...
August 1, 2008 at 1:23 pm
I guess the next question is how do I fix it. How would I tell it that I need to omit the 0=1 levels.
August 1, 2008 at 1:01 pm
I know the logic is sound but the issue is that in the case of the following result String:
SELECT * FROM #DLFiltered WHERE Active = 1 AND DownlineLevel...
August 1, 2008 at 12:36 pm
The problem now is the point of the 1=1 and 0=1 is that I do not want to display the level that have 0=1 but right now it is still...
August 1, 2008 at 11:31 am
Seems straight forward but how would I handle the parameters that the Recursive query uses?
July 23, 2008 at 9:40 am
Viewing 15 posts - 1 through 15 (of 258 total)