Viewing 6 posts - 1 through 6 (of 6 total)
Hi Wayne,
I completely appreciate what you said and that if i don't understand what it's doing then don't use it.
Your write-up and description however is really very helpful indeed. It...
July 23, 2015 at 1:41 am
WayneS (7/21/2015)
Ed Wagner (7/21/2015)
WayneS (7/21/2015)
The Length is from the first numeric value to the first non-numeric value.
The Width is...
July 22, 2015 at 6:23 am
Thanks a lot for the hasty reply.
I generated a table from a subset of the data i'm working with. I've attempted to attach it.
I'm currently having a read through the...
July 21, 2015 at 8:02 am
serg-52 (10/30/2014)
SELECT DISTINCT
t1.id,
t1.empid,
t1.jobnum,
t1.opcode,
t1.starttime,
t1.finishtime,
t2.id id2,
t2.empid empid2,
t2.jobnum jobnum2,
t2.opcode opcode2,
t2.starttime starttime2,
t2.finishtime finishtime2
FROM
vGSL_DMTEpicorData t1 inner join
vGSL_DMTEpicorData t2
on t1.jobnum=t2.jobnum and
t1.empid=t2.empid and
(
t1.starttime < t2.finishtime and
t2.starttime...
October 30, 2014 at 8:12 am
serg-52 (10/30/2014)
t1.starttime < t2.finishtime AND t2.starttime < t1.finishtime
i.e those intervals have at least one common point. And this condition is symmetric.
Sorry,...
October 30, 2014 at 6:21 am
serg-52 (10/30/2014)
Provided Id is unique just addAND t1.ID < t2.ID
to ON clause.
Thanks for the hasty reply!
ID is indeed Unique but ID and ID2 could be the same because...
October 30, 2014 at 5:28 am
Viewing 6 posts - 1 through 6 (of 6 total)