Viewing 15 posts - 4,336 through 4,350 (of 4,820 total)
Sergiy has the right answer, but the reason you have the problem is NOT so much because of the behavior of CAST, but instead is what you're asking CAST to...
January 29, 2009 at 7:00 am
Just an extra thought here, but why would you want to use a reserved word for the name of a function? It's not the least bit descriptive of...
January 29, 2009 at 6:35 am
First item: your code, as shown, fails to even run correctly, as you appear to be creating both constraints twice. Once I had that straightened out, I discovered...
January 28, 2009 at 7:14 pm
It was the execution with _Test at the end of the function name.
Steve
(aka smunson)
:):):)
Jeff Moden (1/28/2009)
January 28, 2009 at 2:40 pm
I had realized too late that I had forgotten to include the timings, and it required almost 4 minutes to run the whole thing over, as I had quickly run...
January 28, 2009 at 1:32 pm
Here are the test timings I referred to:
====================================================================================
CREATE 200,000 ROW TEST TABLE
====================================================================================
Table 'spt_values'. Scan count 9, logical reads 39, physical reads 0, read-ahead reads 0, lob logical reads 0, lob...
January 28, 2009 at 1:10 pm
Thanks Lynn, the case sensitivity was indeed my problem. I forget all too often, but I too much prefer the case-sensitive setup, and set mine up that...
January 28, 2009 at 1:00 pm
Jeff,
I have a relatively fresh installation of SQL 2005 Developer Edition, but your object in the following:
.
.
.
FROM Master.dbo.SysColumns t1 CROSS JOIN Master.dbo.SysColumns t2
.
.
.
doesn't exist on my server. Is...
January 28, 2009 at 10:46 am
Jeff,
Can you supply the code necessary to generate the test data you used? I have a quad-core 2.83GHz machine with SQL 2005 DE SP2 that I'd like...
January 28, 2009 at 6:24 am
Interesting data here. Anyone know what to do with the repeating occurrences of several of the ranges because there are "locations" that may or may not be "AADC"s,...
January 27, 2009 at 12:45 pm
I understand where you're coming from, but I think the gist of this thread is more related to the reason behind the desire to see order, because what Jeff has...
January 24, 2009 at 8:33 pm
I'm not sure you'd have to worry about using a trigger with this structure. Since you never create a record that doesn't reference something, when you delete,...
January 24, 2009 at 2:00 pm
Just wondering if you could use ISNULL instead of COALESCE, as I've seen several posts inidicating it's faster, and perhaps with 500,000 records, that might add up? ...
January 23, 2009 at 9:14 pm
Oops... I find it difficult to code correctly when I have nothing to work with. Anyway, here's another shot at it. I'm not...
January 22, 2009 at 11:36 am
Ok, so you ended up with XML that isn't structured the way you need it to be to get SSIS to be able to import it in a practical fashion....
January 22, 2009 at 9:41 am
Viewing 15 posts - 4,336 through 4,350 (of 4,820 total)