Viewing 15 posts - 12,556 through 12,570 (of 15,381 total)
Try taking a look at this link. There is no reason you can't handle UNICODE data in sql server. Keep in mind there are not always direct translations from UNICODE...
April 3, 2012 at 2:27 pm
Sure there are lots of people around here willing to help. First however you need to help us help you. We need ddl, sample data and desired output. Details about...
April 3, 2012 at 1:47 pm
Lynn Pettis (4/3/2012)
bplvid (4/3/2012)
"Subquery returned more than 1 value. This is not permitted...
April 3, 2012 at 1:39 pm
aaron.reese (4/3/2012)
Thanks for that. I can rewrite it as
AND NOT (
D.SubBalA = coalesce(P.SubBalA,0) AND
D.SubBalB = coalesce(P.SubBalB,0) AND
)
Which sort of gets rid of the inequality by reversing the logic,...
April 3, 2012 at 1:11 pm
bplvid (4/3/2012)
"Subquery returned more than 1 value. This is not permitted when the...
April 3, 2012 at 1:04 pm
D-SQL (4/3/2012)
April 3, 2012 at 1:00 pm
This is a 3 year old thread. It might be better to start your own since your issue is certainly a bit different. That being said, it depends. There are...
April 3, 2012 at 12:49 pm
This is a pretty old thread but you are correct this type of approach will work for that sort of "catch all" query. However, Gail wrote a blog post about...
April 3, 2012 at 12:46 pm
shermola1 (4/3/2012)
April 3, 2012 at 10:56 am
Your scan is because your where clause is not sargable.
D.SubBalA<> coalesce(P.SubBalA,0)OR
D.SubBalB<> coalesce(P.SubBalC,0)OR
D.SubBalC<> coalesce(P.SubBalC,0)OR
D.SubBalD<> coalesce(P.SubBalD,0)
You have both the inequality AND a function. both these are non-sargable.
April 3, 2012 at 10:18 am
Seems that Lynn and I both agree that storing this data would be better than calculating it on the fly...didn't see the response as I was typing mine. π
April 3, 2012 at 7:55 am
So just to clarify, you want a list of the counts of all vendors within each distance range for every single zip code on your list? You said something about...
April 3, 2012 at 7:54 am
It would be a lot easier if your sample data was insert statements. The idea here is for you to make it as easy as possible for the people helping....
April 3, 2012 at 7:36 am
capn.hector (4/2/2012)
Koen Verbeeck (4/2/2012)
EL Jerry (4/2/2012)
I'm quite sure the community will agree with me that you deserve the Nobel Patience Prize for your participation in that thread. π
"El"...
April 3, 2012 at 7:24 am
Viewing 15 posts - 12,556 through 12,570 (of 15,381 total)