Viewing 15 posts - 31 through 45 (of 601 total)
I really can't think of many cases where this would be necessary. Breaking into your home or vault is a time limited extraction. They want to delay...
April 21, 2015 at 9:03 am
The problem seems to be with the VALUES table value constructer
Replace your foj to derived table with this ...
full outer join
(SELECT 'dbo' name) b on a.name = b.name
.... and...
April 16, 2015 at 1:58 pm
Giving the question the title of "deterministic" is a bit of a giveaway.
April 16, 2015 at 7:16 am
Hugo Kornelis (4/15/2015)
April 15, 2015 at 7:38 am
First, I'd be remiss if I didn't comment on the (nolock). That is almost certainly a bad idea
Anyway, you want something like:
WITH a AS (
SELECT
dhi.[GUID],
dhi.[timestamp],
la.[bundle_id],
dhi.[value]
...
April 2, 2015 at 3:00 pm
Can you at least explain why you are so sure that this subquery is the main performance problem?
You haven't given us a lot to go on, and any way we...
April 1, 2015 at 8:58 am
Very nice. Glad I tried running it before spending any time trying to break the query down.
April 1, 2015 at 7:59 am
My favourite part of re-watching early (not always) first episodes of old shows is finding actors in bit parts that I have seen in bigger roles since.
For instance, Dennis Haysbert...
March 31, 2015 at 9:50 am
I think there is merit in an apprenticeship style approach. Anything that gets people more exposure to actual work environments, real-life problems, and how real life workplaces and...
March 30, 2015 at 12:55 pm
Sorry for the delay, I've been off on vacation for a couple weeks
Try the following:
eclare @query nvarchar(max);
-- build small inline tally table
WITH E(N) AS(
SELECT...
March 30, 2015 at 10:20 am
I added data to your sample to make it easier to show the filtering
Basically, we get what you want with a CASE inside the SUM
This gets each employee and their...
March 12, 2015 at 10:36 am
MV40304 (3/11/2015)
OP edited - sorry; MigrationsException is where we are writing details to when the identifier has failed to be found in the Orders table.
Right. And you are saying that...
March 11, 2015 at 8:16 am
dwilliscp (3/11/2015)
, CASE @Sort_Sel
WHEN 'Resource' THEN R.RESCODE
ELSE...
March 11, 2015 at 7:53 am
So what is in the MigrationExceptions table for the identifier you think should have been there, and have you tried joining that to the lookup table with a similar top...
March 11, 2015 at 7:24 am
Viewing 15 posts - 31 through 45 (of 601 total)