Viewing 13 posts - 1 through 14 (of 14 total)
Good to know.
However, I am still stuck with this
June 2, 2010 at 1:38 pm
It took me some time to go through all the posts. I didn't imagine the discussion will take such a turn 🙂
Anyway, my question was only about the change in...
April 22, 2010 at 12:36 pm
And also since the issue occurs only in case on constants we can trick the engine not to throw the error, like this:
select 1 from sys.tables where
((
CASE WHEN...
April 21, 2010 at 6:00 am
I agree with you that the problem occurs only when constants are used. It doesn't occur when variables or column names are used.
Changing the way constants are used by the...
April 21, 2010 at 3:00 am
Stefan,
Thanks for the answer.
It is a problem, because in Sql Server 2005 it works just fine.
Let's say that I have a function which is used to add a number of...
April 21, 2010 at 2:25 am
Paul,
What would you recommend for serializing a Median UDA?
I am asking this in the context of Merge method/parallel threads.
For median, we need to keep all the value in an array...
March 9, 2010 at 7:41 am
Looks cleaner 🙂
Thanks for all the feedback Paul.
Ionut
March 9, 2010 at 3:30 am
What you say makes perfect sense.
What I was saying is simply that I couldn't find your scenario to fail as you pointed out. But I do agree that it's better...
March 9, 2010 at 3:04 am
Paul,
Based on your initial feedback, I tried two scenarios:
1)input table with only NULL values
2)input table with no rows.
Both failed, but the error did not occur in the Read(), but instead...
March 9, 2010 at 2:38 am
Paul,
Thanks for your observations. Let me try to answer them one by one:
1)The Write method does not write anything if the aggregate is empty. The Read method will still try...
March 9, 2010 at 1:37 am
Barry,
Thanks for your input.
I managed to change the UDA based on your suggestions ant it appears to be working. The code looks like this now (basically m_uAvg is only calculated...
March 8, 2010 at 1:23 am
If you store that string in a column why just not do:
UPDATE my_table SET my_html_column = REPLACE(my_html_column,'%20','_')
WHERE my_html_column LIKE '<a href="#%</a>'
% character means any string that starts with <a...
February 3, 2010 at 7:42 am
Enforcing delete cascade will also help here, instead of creating indexes. I believe it should eliminate the deadlock. Of course if you enable delete cascade it's no point in deleting...
January 20, 2010 at 4:01 am
Viewing 13 posts - 1 through 14 (of 14 total)