Viewing 15 posts - 706 through 720 (of 1,554 total)
When it's 'too late' is when they eventually need to bring in someone (read consultant) to look over why their 'well-thought' system is slower than a dog and absolutely useless...
A...
December 5, 2005 at 2:12 am
This behaviour is a documented property of the count() function - it's not quite what Jesper asked for.
/Kenneth
December 5, 2005 at 2:06 am
For the most parts, we 'get answers to what we ask'... So, check your data. Does it look like you expect? Easiest way to validate an update is to do...
December 5, 2005 at 1:59 am
I don't think you can avoid looping in one way or other in this case, and as noted, REPLACE doesn't deal well with wildcards... but PATINDEX does. So, you can...
December 2, 2005 at 8:45 am
If you want to avoid the warning, you can set ansi_warnings off
/Kenneth
December 2, 2005 at 2:26 am
Also, the ansi settings is a session setting, so imagine the chaos if col = col would behave differently depending on each connections specific settings..
December 2, 2005 at 2:20 am
Your problem seems similar to the problem how to calculate someones age. You want to count years, but within days precision depending on if the date of the birthday has...
December 2, 2005 at 2:14 am
I don't think that the ansi setting applies in this case. Imagine what would happen if it would..
Take your everyday inner join:
select foo from bar a join foobar b on...
December 2, 2005 at 1:58 am
The only 'good' thing about people as clueless as this, is that they do provide for a neverending source of work-opportunities for those not-so-clueless...
/Kenneth
December 1, 2005 at 5:46 am
I don't think that it's designed that way...
For example 1, you have a comparison between datavalue = datavalue, which by design should always evaluate to null, if either of the...
December 1, 2005 at 5:37 am
It should work just as fine with ascii 160 as any other.. I believe that it's a codepage problem rather than with replace itself.
ASCII 160 is in the high ASCII...
November 30, 2005 at 7:44 am
Hmm... Maybe better check your original db..? I can't see how any objects can disappear when doing a detach-attach. Make sure that the PKs you miss really is there in...
November 30, 2005 at 7:21 am
What datatype is your edeb column? If it's a float, then you're going to get some rounding errors and no real control on how many decimals the SUM() will produce.
The...
November 30, 2005 at 7:11 am
Well, have you tried it..?
While it looks like it would work, it's imo unnecessary resourcedemanding to write the join with a derived table...
November 30, 2005 at 4:59 am
I think that there may be some misunderstanding on how you can 'nest' transactions. Thing is, that transactions cannot be nested in any other way than syntax.
I've posted a short...
November 30, 2005 at 2:35 am
Viewing 15 posts - 706 through 720 (of 1,554 total)