Viewing 12 posts - 16 through 27 (of 27 total)
Values from the application that will be sent to the DB to do the lookup....
April 8, 2009 at 11:05 pm
I have a table with 6 fields, and given 6 values, I have to find the row that matches at least 4 values - 5 or 6 are ok, too...
April 8, 2009 at 10:46 pm
I tried that, but I couldn't see how thats done... is there a way I can move it? Or does it have to be done by an admin?
April 7, 2009 at 8:40 am
The query is this:
select * from nodes
where macaddress = '00-13-d3-b4-47-ab'
I can't save the plan, because its sql server 2000 - but basically it is something like this:
Select (0%) <- Book...
April 6, 2009 at 11:22 pm
I did it ! I saw the first suggestion as the best one and the only reason I was having issues with that is because of the index.... so I...
May 14, 2008 at 11:44 pm
Richard, unfortunately, when the parameters don't match, they will not be null - they might have other values in it, so the conditions inside where (@f1 is null or @f1...
May 12, 2008 at 8:26 am
Wow - genius solution and it works ! - But unfortunately, its not using my indexes anymore, and I have over 1 million rows - and growing 🙁
May 11, 2008 at 9:40 pm
"Changing the name of the variables can't be the reason." - I figured that - I guess it has something to do with using...
July 27, 2005 at 1:04 pm
Thanks for all the helpfull info - but I'm not sure that was what was causing my slowdowns in the first place - when I changed it to a local...
July 27, 2005 at 12:58 pm
ahh - I see - but isn't the convert taking it back to varchar ?
July 27, 2005 at 12:48 pm
yes, it is faster - but I still don't get why changing the names would make it so much faster.... they are both varchar - the scenario is both the...
July 27, 2005 at 12:40 pm
yes, but it is being passed in as varchar - so the local variable and the input paramters are both varchar...:-/
July 27, 2005 at 12:30 pm
Viewing 12 posts - 16 through 27 (of 27 total)