Viewing 15 posts - 18,871 through 18,885 (of 19,564 total)
As a matter of preference as well as having seen substantial performance gains, I avoid the use of subqueries and use Join statements as well as CTE's. Moving subqueries...
December 7, 2009 at 11:08 pm
The provided script will get you to the point of being able to merge the data. You will need to decide which record in the database to update with...
December 7, 2009 at 10:46 pm
Nice, I like it better than some of the comma split functions I have seen.
What have you seen this scale out to?
For curiosity sake, I decided to see what kind...
December 7, 2009 at 10:36 pm
bpowers (12/7/2009)
UPDATE CUST_LINE_DEL SET USER_ORDER_QTY = '9'
FROM CUST_LINE_DEL
JOIN CUST_ORDER_LINE ON CUST_LINE_DEL.CUST_ORDER_ID = CUST_ORDER_LINE.CUST_ORDER_ID
JOIN CUSTOMER_ORDER ON CUST_ORDER_LINE.CUST_ORDER_ID...
December 7, 2009 at 10:01 pm
I agree with Andrew here. There is at least one table causing your results to grow. Narrow it down as Andrew explained and work on the select statement...
December 7, 2009 at 5:40 pm
BTW, thanks for posting that information.
The tsql to change the parameterization is:
ALTER DATABASE [TestC] SET PARAMETERIZATION FORCED
GO
December 7, 2009 at 5:20 pm
Ah now I see what the issue is.
I was able to get both to use the same execution plan by changing the Parameterization option in TestC db to 'Forced'
In the...
December 7, 2009 at 5:18 pm
Now that I read the rest of the thread - after my last post - it seems a bit late.
Happy Birthday again anyway.
December 7, 2009 at 3:44 pm
GilaMonster (12/7/2009)
CirquedeSQLeil (12/7/2009)
AntiquatedI take exception to that. 😉 :hehe:
Good thing I got it in there before you posted Birthday.
And if it is your birthday - Have a Happy Birthday.
December 7, 2009 at 3:43 pm
RBarryYoung (12/7/2009)
Here's one that reminded me of many of the questions the we get: http://dilbert.com/strips/comic/2009-12-07/
Very accurately depicted
December 7, 2009 at 3:15 pm
DBADave (12/7/2009)
SORT_IN_TEMPDB is used, but...
December 7, 2009 at 3:08 pm
I would let it run to completion if at all possible.
December 7, 2009 at 2:40 pm
I think you will find that the advice given by the experts here has been generous.
Many of the people that have responded to you post are Interviewers and influential in...
December 7, 2009 at 2:27 pm
GilaMonster (12/7/2009)
CirquedeSQLeil (12/7/2009)
GilaMonster (12/7/2009)
Grant Fritchey (12/7/2009)
Nah, I'm just peeved because of... well, read for yourself.
Oh man. Bob, I LOVE your reply to that thread. What I was thinking, but too...
December 7, 2009 at 2:21 pm
DBADave (12/7/2009)
December 7, 2009 at 2:19 pm
Viewing 15 posts - 18,871 through 18,885 (of 19,564 total)