Viewing 15 posts - 1,021 through 1,035 (of 10,144 total)
Just a hunch...I reckon the WHERE clause inside the EXISTS check should look like this:
WHERE --ISNULL(BK2.CustomerLoyaltyNumber, 'Null') <> 'Null'
--AND BK2.Basket_id = BK.Basket_id
--AND
BK2.CustomerLoyaltyNumber = BK.CustomerLoyaltyNumber
December 21, 2016 at 8:38 am
Jeff Moden (12/21/2016)
Yes. The old article is what I was talking about. Hadn't seen the new one. Unfortunately, I'm like a lot of humans in that...
December 21, 2016 at 7:47 am
skb 44459 (12/21/2016)
DBCC DBREINDEX ('job', '', 80 )
Sometime this process is stuck until we resolve the blocking issue.
Is there a way...
December 21, 2016 at 7:35 am
Hey Richard, if you post up your rCTE version, I'll figure out an index or two for you. rCTE's can be blazingly fast if the indexing is correct.
December 21, 2016 at 6:57 am
smw147 (12/21/2016)
The __clients and __entity_asset tables have no indexes. They get created by a...
December 21, 2016 at 5:14 am
smw147 (12/21/2016)
He's got the following no no's as far...
December 21, 2016 at 5:00 am
The nested-cursor approach in your code is likely to underperform, in addition to increasing the complexity of a very simple operation. You can almost certainly simplify your code to something...
December 21, 2016 at 3:31 am
You're passing too many parameters to the FORMATMESSAGE function.
For /*---CCR Data Set---*/, you're passing in msg_string as the first argument, followed by 21 param_values. The maximum number of param_values...
December 21, 2016 at 2:53 am
Grant Fritchey (12/20/2016)
ChrisM@Work (12/20/2016)
Grant Fritchey (12/20/2016)
ChrisM@Work (12/20/2016)
Grant Fritchey (12/20/2016)
BLOB EATER (12/20/2016)
is that what they label it as "networking evening" on the Tuesday?
No, Friday night. The costume ball.
Have they announced...
December 20, 2016 at 7:47 am
Grant Fritchey (12/20/2016)
ChrisM@Work (12/20/2016)
Grant Fritchey (12/20/2016)
BLOB EATER (12/20/2016)
is that what they label it as "networking evening" on the Tuesday?
No, Friday night. The costume ball.
Have they announced a theme yet...
December 20, 2016 at 5:58 am
Grant Fritchey (12/20/2016)
BLOB EATER (12/20/2016)
is that what they label it as "networking evening" on the Tuesday?
No, Friday night. The costume ball.
Have they announced a theme yet for this year?
Apparently...
December 20, 2016 at 4:58 am
Beatrix Kiddo (12/20/2016)
I want to go, but oh man, Telford.
Yeah I know but at least there's this.
December 20, 2016 at 2:53 am
Abdallah.mehdoini (12/19/2016)
December 19, 2016 at 4:06 am
Try ROW_NUMBER(). Comment out the outer WHERE clause to see how all rows are numbered:
SELECT *
FROM (
SELECT
*,
rn = ROW_NUMBER() OVER(PARTITION BY ProductId, ObjectId ORDER BY CheckNumber DESC)
FROM EuroLuxProductBE.dbo.pdt_multidimensions...
December 19, 2016 at 2:06 am
simon.oakes (12/16/2016)
Select * from customers where country != 'US' AND country !='UK'; --Works
Select * from customers where Not(country = 'US' OR country ='UK'); --Works because criteria within the NOT...
December 16, 2016 at 5:33 am
Viewing 15 posts - 1,021 through 1,035 (of 10,144 total)