Viewing 15 posts - 196 through 210 (of 10,144 total)
Here's a slightly more conventional form of the same query just to get us started really. Please can you run it, confirm that it generates correct results, then post the...
November 27, 2018 at 4:00 am
Create this index and check out the plan. I'd expect to see a seek for the date and residual predicate for the remaining filter columns, then a key lookup to...
November 27, 2018 at 1:11 am
SELECT *November 26, 2018 at 8:06 am
November 26, 2018 at 4:56 am
November 26, 2018 at 4:19 am
I had emailed earlier but didn't get any response and googled but didn't get...
November 26, 2018 at 3:54 am
November 15, 2018 at 7:34 am
Hi Chris,
Just managed to get onto the DB and test the code, extremely happy to...
November 14, 2018 at 9:55 am
[code...
November 14, 2018 at 2:25 am
November 13, 2018 at 10:05 am
What's wrong with 'Y' and 'N' as CHAR(1)? Unlike 0 and 1, there's no chance of getting them the wrong way around (I've seen this!!). You could even make it...
November 13, 2018 at 9:52 am
November 13, 2018 at 9:27 am
If you really need the table CIP_updated_dateTOBE then use this:
;WITH FirstSelection AS (
November 13, 2018 at 1:57 am
Something like this:
;WITH FirstSelection AS (
SELECT
[TB_Code],
[TB_Start_production],
[TB_Resource_Code],
[TB_Version],
[TB_Start_Changeover],
[tb_duration_changeover],
[id] = ROW_NUMBER() OVER(ORDER BY TB_Resource_code ,TB_Start_production),
CIP_END,
[END_CIP] = CONVERT(char(5), DATEADD(MINUTE, tb_duration_changeover,...
November 12, 2018 at 9:52 am
Viewing 15 posts - 196 through 210 (of 10,144 total)