BT phone wiring problem

Hi I am struggling with a rather old BT wiring system. We have a teelgraph pole and the wire comes into the loft it then joins a brown junction box type contraption with 8 terminals in two rows of 4.
Two wires come from the outside and then join a modern white cable with the standard white/blue/green/orange wires.
This then leads down to a master box which has the telephone plugged in.
The problem is our builder is doing a loft conversion and has pulled out the wires...!! have searched internet for help but cannot seem to find any links with this old brown box and how the modern wires link... there also seem to be two orange/brown wires which are broken off.
Any help would be great!!

If you let me know the colours of the wires coming from the pole (poss Orange+white and Green+brown) if it is the line should come in on the orange+white.
It "should" go away to your main socket on the white cable you describe on a Blue/ white+blue wires
(If I have helped you in any way to say "Thank You" please click on the star next to the message. Thank You)
If I have solved your Issue please click the "Mark as accepted solution" button.

Similar Messages

  • I would like to replace my home phone wiring

    I suspect that there are some intermittent issues with my home wiring. The original wiring included the old round jack plugs and sockets, which was updated to the newr 'Plan 4' wiring system, sometime in the 1970s. I do think that there are some issues with BT but, I need to make sure that I am squeeky clean before involving them. I am quite confident about tackling the home wiring problem and would be up for taking out the 40 odd year old wiring and replacing it with a single properly wired extention, at the same time, remaining legal with BT.
    What I propose to do, is to disconnect the house wiring from the master BT box and then just have one cable running about 5 or 6 metres to a second connector box. Pleas could anyone recommend the type of cable to use? I do have some of the old grey BT single strand 3 twisted pair but, I suspect the cable used these days is of a higher spec, with a tighter twist. I would greatly appreciate comment/advice. Best Wishes. Harry H.
    Solved!
    Go to Solution.

    The Current front plate is the split plate witb Openreach logo. this was installed some six years ago during a line fault investigation. Tim Smedly mentions a front plate with separate sockets for Phone and Broadband! I presume with this, each device still requires a filter unit. Are these front plates available in the local Maplin store or do you have to get them via BT?
    Incidentally, whilst searching our garage for the Krone inserter, I came across a real of cable, made by Duratube & Wire Ltd.
    The label says 4 wire (two pair) telephone cable, spec 1308. The pairs are enclosed in a round white sheath. as my mum used to say, "we are short of nothng that we have got" Once again, thank you for your very helpful reply. Harry H.

  • Bizarre Broadband / Phone line problem..... please...

    Hi all
    Currently suffering a very bizarre problem with BT Broadband. Here's the chronological order of what has happened, note that I run a wired connection to my computer from my BT hub (model version 3) that is connected to my phone line through an extension socket upstairs in my house.
    1) Woke up and BB all of a sudden not working, orange BB light flashing on hub. Not touched or done anything different, BB worked fine the night before. Phones connected to extension sockets work fine.
    2) Rang BT, they advised resetting hub etc. Still not working.
    3) BT advised connect hub to another extension socket in my house. Still not working.
    4) BT advised swap microfilters. Still not working.
    5) BT ran line tests (quiet line etc.), detected no problems.
    6) BT advised plug hub into master phone socket. Still not working.
    7) BT advised unscrew master socket, remove faceplate and plug hub directly to test socket (the one with the direct link to the BT incoming phone line). Did and it works! Of course, phones then don't work as the faceplate is off so no extension sockets have a signal.
    8) BT said it is not their problem to fix and must be an internal wiring problem since the incoming signal works fine.
    My worry is, if it's an internal wiring problem then why do the phones still work? Is it possible that overnight the BB signal weakened and now doesn't transmit through my internal wiring? Please help as I currently can only have BB or phones working and not both together!
    Thanks in advance
    Mosh

    ok you say your phones are still working is there any noise on the phones try the quiet line test dial 17070 if you hear any noise then that is the cause of your problem unfortunately if the noise is only heard on the extensions then the fault is down to you to repair as BT would charge you if however the noise can still be heard at the test socket then report it as a noise fault on 151 but do not mention broadband
    If you want to say thanks for a helpful answer,please click on the Ratings star on the left-hand side If the reply answers your question then please mark as ’Mark as Accepted Solution’

  • Internal phone wiring

    Hi,
    I am having BT Infinity installed on Friday. However, I am not sure if my internal phone wiring will be up to the job. At the moment the external cable comes into the flat via bedroom window. Then it travels to the middle of the flat where there is some messiness involving what I think is either a master socket or an extension socket and a disused remotely monitored house alarm.
    If this configuration (which I expect to be sloppy) causes a problem, would the engineer be able to simply 'cut' the cable at the bedroom and install a new master socket for me?
    Solved!
    Go to Solution.

    The engineer should be able to tidy it all up for you. Internal wiring is one of the engineering modules that comes as part of the FTTC installation mate
    If you want to say thanks for a helpful answer,please click on the Ratings star on the left-hand side If the the reply answers your question then please mark as ’Mark as Accepted Solution’

  • Not able to connect to DB in Redhat Linux - intermittent wired problem

    Hi,
    I need some help from you if possible please help me. There is a wired problem in the Linux based Oracle server.
    OS: Redhat Linux 8
    Database: Oracle Enterprise server 9.2
    There is an intermittent wired problem.
    After some time (it happen twice last Saturday and Yesterday), either from application or from SQL Plus we are not able to connect it from outside. But we are able to connect to the oracle server on Linux server.
    We checked the Listener status on the server and it was UP and running.
    We can ping the server from outside.
    We are not able to do an FTP from inside the server or from Outside to the Linux server.
    During this time the http protocol is working we can upload any file to the other sites.
    We tried to shutdown the oracle server and even we tried to restart the OS itself and not able to resole this issue.
    If we create a new Listener and starts the server and all blocking thing were released and now working.
    Currently we are monitoring the server at ALIF’s premises if it going to happen for the third time or not.
    Thanks a lot
    Regards
    Kumar

    What is the error that you get when you try to get connection ?
    to check the log file is a good option: <ORACLE_HOME>/network/log/listener.log
    Joel Pérez

  • Openbox-svn6175 wired problem [solved]

    I have a wired problem with the new openbox-svn revision.
    I use pypanel and e.g i open urxvt and firefox, and will switch from firefox to urxvt I can't get urxvt in the foreground, only when I start first firefox , then urxvt, switch to firefox and then to urxvt.
    I hope you understand what I mean..
    Last edited by fk (2007-05-11 18:32:31)

    Mikko777 wrote:So are you saying they still develop Openbox? /end sarcasm Love OB3 tho <3
    Yeah, quite recently the original developer came back and started doing _a lot_ of work on ob. Quite some bugs got fixed and if you look closely, we got some nice new features... Also be prepared for a lot of fancy new stuff to come.
    Edit: I kinda mean that OB seems ready and always stable so what are they doing to break things? Is obconf2 just so much different than obconf1 that it always breaks?
    It is not obconf2 that breaks, it is ob that makes obconf2 break. Openbox has some libraries (for rendering themes, parsing config files, etc.) and obconf2 makes use of that and every time some api changes happen (quite often recently) obconf2 breaks.

  • Wired problem with LEAD Analytical function

    I am having wired problem with LEAD Analytical function. It works fine as a standalone query
    but when used in sub-query it is not behaving as expected (explained below). I unable to troubleshoot
    the issue. Please help me.
    Detail explanation and the data follows:
    ========================= Table & Test Data =======================================
    CREATE TABLE "TESTSCHED"
    (     "SEQ" NUMBER NOT NULL ENABLE,
         "EMPL_ID" NUMBER NOT NULL ENABLE,
         "SCHED_DT" DATE NOT NULL ENABLE,
         "START_DT_TM" DATE NOT NULL ENABLE,
         "END_DT_TM" DATE NOT NULL ENABLE,
         "REC_STAT" CHAR(1) NOT NULL ENABLE,
         CONSTRAINT "TESTSCHED_PK" PRIMARY KEY ("SEQ")     
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (1, 39609, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 07:00:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 11:00:00', 'dd-mm-yyyy hh24:mi:ss'), 'A');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (2, 39609, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 11:00:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 11:30:00', 'dd-mm-yyyy hh24:mi:ss'), 'A');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (3, 39609, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 07:00:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 11:30:00', 'dd-mm-yyyy hh24:mi:ss'), 'I');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (4, 39609, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 07:15:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 11:30:00', 'dd-mm-yyyy hh24:mi:ss'), 'I');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (5, 39609, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 07:15:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 11:00:00', 'dd-mm-yyyy hh24:mi:ss'), 'I');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (6, 39609, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 07:00:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 11:00:00', 'dd-mm-yyyy hh24:mi:ss'), 'I');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (7, 39609, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 07:00:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 11:00:00', 'dd-mm-yyyy hh24:mi:ss'), 'U');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (8, 39609, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 07:00:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 11:00:00', 'dd-mm-yyyy hh24:mi:ss'), 'I');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (9, 118327, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 17:30:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 22:00:00', 'dd-mm-yyyy hh24:mi:ss'), 'A');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (10, 120033, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 19:30:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('04-03-2008', 'dd-mm-yyyy'), 'A');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (11, 120033, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 19:30:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('04-03-2008', 'dd-mm-yyyy'), 'I');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (12, 120033, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 17:30:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 19:30:00', 'dd-mm-yyyy hh24:mi:ss'), 'A');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (13, 120033, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 17:30:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 19:30:00', 'dd-mm-yyyy hh24:mi:ss'), 'U');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (14, 126690, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 18:45:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 21:15:00', 'dd-mm-yyyy hh24:mi:ss'), 'A');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (15, 126690, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 12:45:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 16:45:00', 'dd-mm-yyyy hh24:mi:ss'), 'A');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (16, 126690, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 12:45:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 21:15:00', 'dd-mm-yyyy hh24:mi:ss'), 'I');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (17, 126690, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 16:45:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 18:45:00', 'dd-mm-yyyy hh24:mi:ss'), 'A');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (18, 126690, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 16:45:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 18:45:00', 'dd-mm-yyyy hh24:mi:ss'), 'U');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (19, 169241, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 05:30:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 14:00:00', 'dd-mm-yyyy hh24:mi:ss'), 'A');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (20, 169241, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 05:30:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 14:00:00', 'dd-mm-yyyy hh24:mi:ss'), 'I');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (21, 169241, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 17:30:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 22:00:00', 'dd-mm-yyyy hh24:mi:ss'), 'A');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (22, 169241, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 17:30:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 22:00:00', 'dd-mm-yyyy hh24:mi:ss'), 'U');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (23, 200716, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 17:30:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 22:00:00', 'dd-mm-yyyy hh24:mi:ss'), 'I');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (24, 200716, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 17:30:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 22:00:00', 'dd-mm-yyyy hh24:mi:ss'), 'A');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (25, 200716, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 17:30:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 22:00:00', 'dd-mm-yyyy hh24:mi:ss'), 'U');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (26, 252836, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 19:30:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 22:00:00', 'dd-mm-yyyy hh24:mi:ss'), 'A');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (27, 252836, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 17:30:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 22:00:00', 'dd-mm-yyyy hh24:mi:ss'), 'I');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (28, 252836, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 17:30:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 19:30:00', 'dd-mm-yyyy hh24:mi:ss'), 'A');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (29, 252836, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 17:30:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 19:30:00', 'dd-mm-yyyy hh24:mi:ss'), 'U');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (30, 260774, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 07:00:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 10:30:00', 'dd-mm-yyyy hh24:mi:ss'), 'A');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (31, 260774, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 10:30:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 14:00:00', 'dd-mm-yyyy hh24:mi:ss'), 'A');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (32, 260774, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 05:30:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 07:00:00', 'dd-mm-yyyy hh24:mi:ss'), 'A');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (33, 260774, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 07:15:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 10:35:00', 'dd-mm-yyyy hh24:mi:ss'), 'I');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (34, 260774, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 07:15:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 10:35:00', 'dd-mm-yyyy hh24:mi:ss'), 'I');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (35, 260774, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 05:30:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 14:00:00', 'dd-mm-yyyy hh24:mi:ss'), 'I');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (36, 260774, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 07:00:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 10:30:00', 'dd-mm-yyyy hh24:mi:ss'), 'U');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (37, 289039, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 16:30:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 22:15:00', 'dd-mm-yyyy hh24:mi:ss'), 'A');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (38, 289039, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 13:45:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 22:15:00', 'dd-mm-yyyy hh24:mi:ss'), 'I');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (39, 289039, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 13:45:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 16:30:00', 'dd-mm-yyyy hh24:mi:ss'), 'A');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (40, 289039, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 13:45:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 16:30:00', 'dd-mm-yyyy hh24:mi:ss'), 'U');
    ========================= Problem Statement =======================================
    Problem Statement:
    Select all employees whose active schedule (rec_stat = 'A') start date & time falls
    between "16:30" and "17:45".
    An employee may be having multiple schedules on a day. It may be continuous or may be
    having breaks in between the schedules.
    If an employee schedule is continuous then the minimum schedule start date & time is
    considered as the start date & time of the work.
    If an employee is having breaks in the schedule, then each schedule start date & time is
    considered as start date & time.
    e.g:-1
    1     39609     2008/03/03     2008/03/03 07:00:00     2008/03/03 11:00:00     A
    2     39609     2008/03/03     2008/03/03 11:00:00     2008/03/03 11:30:00     A
    In above case, the employee schedule is continuous. The start date & time is 2008/03/03 07:00:00
    e.g:-2
    19     169241     2008/03/03     2008/03/03 05:30:00     2008/03/03 14:00:00     A
    21     169241     2008/03/03     2008/03/03 17:30:00     2008/03/03 22:00:00     A
    In above case, the employee is having a break in between. Then both records
    start date & time (i.e. 2008/03/03 05:30:00, 2008/03/03 05:30:00 ) is considered
    as start date & time.
    e.g:-3
    30     260774     2008/03/03     2008/03/03 07:00:00     2008/03/03 10:30:00     A
    31     260774     2008/03/03     2008/03/03 10:30:00     2008/03/03 14:00:00     A
    32     260774     2008/03/03     2008/03/03 05:30:00     2008/03/03 07:00:00     A
    In above case, the employee schedule is continuous. The start date & time is 2008/03/03 05:30:00
    ========================= Query to test Individual Employees =======================================
    Query-1: Test query to see the CASE and LEAD function works fine. If "CAL = 0" means that all
    schedules are continuous and the employee needs to ignored.
    SELECT fw.*,
    CASE WHEN LEAD(FW.END_DT_TM, 1)
    OVER(ORDER BY FW.START_DT_TM DESC ) IS NULL AND
    fw.start_dt_tm BETWEEN
    TO_DATE('03/03/2008 16:30:00','mm/dd/yyyy hh24:mi:ss') AND
    TO_DATE('03/03/2008 17:45:00','mm/dd/yyyy hh24:mi:ss')
    THEN Fw.seq
    WHEN LEAD(FW.END_DT_TM, 1)
    OVER(ORDER BY FW.START_DT_TM DESC) != FW.START_DT_TM AND
    fw.start_dt_tm BETWEEN
    TO_DATE('03/03/2008 16:30:00','mm/dd/yyyy hh24:mi:ss') AND
    TO_DATE('03/03/2008 17:45:00','mm/dd/yyyy hh24:mi:ss')
    THEN Fw.seq
    ELSE 0
    END AS "CAL"
    FROM TESTSCHED fw
    WHERE fw.empl_id = 289039
    and fw.rec_stat = 'A'
    Query Results
    SEQ     EMPL_ID     SCHED_DT     START_DT_TM          END_DT_TM          REC_STAT     CAL
    37     289039     2008/03/03     2008/03/03 16:30:00     2008/03/03 22:15:00     A          0
    39     289039     2008/03/03     2008/03/03 13:45:00     2008/03/03 16:30:00     A          0
    Since all "CAL" column is zero, the employee should be ignored.
    ========================= Query to be used in the application =======================================
    Query-2: Actual Query executed in the application which is not working. Query-1 is used as subquery
    here.
    SELECT
    F1.SEQ,
    F1.EMPL_ID,
    F1.SCHED_DT,
    F1.START_DT_TM,
    F1.END_DT_TM,
    F1.REC_STAT
    FROM TESTSCHED F1
    WHERE F1.SEQ IN
    (SELECT CASE
    WHEN LEAD(FW.END_DT_TM, 1)
    OVER(ORDER BY FW.START_DT_TM DESC) IS NULL AND
    FW.START_DT_TM BETWEEN
    TO_DATE('03/03/2008 16:30:00', 'mm/dd/yyyy hh24:mi:ss') AND
    TO_DATE('03/03/2008 17:45:00', 'mm/dd/yyyy hh24:mi:ss') THEN FW.SEQ
    WHEN LEAD(FW.END_DT_TM, 1)
    OVER(ORDER BY FW.START_DT_TM DESC) != FW.START_DT_TM AND
    FW.START_DT_TM BETWEEN
    TO_DATE('03/03/2008 16:30:00', 'mm/dd/yyyy hh24:mi:ss') AND
    TO_DATE('03/03/2008 17:45:00', 'mm/dd/yyyy hh24:mi:ss') THEN FW.SEQ
    ELSE 0
    END
    FROM TESTSCHED FW
    WHERE FW.EMPL_ID = F1.EMPL_ID
    AND FW.REC_STAT = 'A')
    Query-2 Results
    SEQ     EMPL_ID     SCHED_DT     START_DT_TM          END_DT_TM          REC_STAT
    9     118327     2008/03/03     2008/03/03 17:30:00     2008/03/03 22:00:00     A
    12     120033     2008/03/03     2008/03/03 17:30:00     2008/03/03 19:30:00     A
    17     126690     2008/03/03     2008/03/03 16:45:00     2008/03/03 18:45:00     A
    21     169241     2008/03/03     2008/03/03 17:30:00     2008/03/03 22:00:00     A
    24     200716     2008/03/03     2008/03/03 17:30:00     2008/03/03 22:00:00     A
    28     252836     2008/03/03     2008/03/03 17:30:00     2008/03/03 19:30:00     A
    37     289039     2008/03/03     2008/03/03 16:30:00     2008/03/03 22:15:00     A
    Problem with Query-2 Results:
    Employee IDs 126690 & 289039 should not appear in the List.
    Reason: Employee 126690: schedule start date & time is 2008/03/03 12:45:00 and falls outside
    "16:30" and "17:45"
    14     126690     2008/03/03     2008/03/03 18:45:00     2008/03/03 21:15:00     A
    17     126690     2008/03/03     2008/03/03 16:45:00     2008/03/03 18:45:00     A
    15     126690     2008/03/03     2008/03/03 12:45:00     2008/03/03 16:45:00     A
    Reason: Employee 289039: schedule start date & time is 2008/03/03 13:45:00 and falls outside
    37     289039     2008/03/03     2008/03/03 16:30:00     2008/03/03 22:15:00     A
    39     289039     2008/03/03     2008/03/03 13:45:00     2008/03/03 16:30:00     A

    Your LEAD function is order by fw.start_dt_tm, in your first sql, the where clause limited the records return to REC_STAT = A and EMPL_ID = 289039.
    In your 2nd query, there is no where clause, so to the LEAD function, the next record after seq 37 is seq 38 which has an end date of 2003-03-03 10:15 pm, not equal to the start time of record seq 37.
    Message was edited by:
    user477455

  • A wired problem

    I got a wired problem to get number of records in a db.
    the following code works no problem, and get total record number of a db,
    but when I run it under debug mode. the record number get 0;
    (windows, ms studio.net2005)
    any idea?
    thanks
    int main()
    Db db_(NULL,0);
    db_.open(NULL, ".\\test.db", NULL, DB_RECNO, DB_CREATE, 0);
    DB_BTREE_STAT *sp;
    db_.stat(NULL, &sp, DB_FAST_STAT); // DB_READ_COMMITTED);
    unsigned long recnum = (unsigned long) sp->bt_nkeys;
    cout<<"number of records= "<< recnum<<endl;
    return 0;
    }

    Hi,
    Check to see if the database with the records is in the debug directory. When you switch to the Release version the current directory changes to Release.
    Ron

  • Iam using 3g with the software 4.1.2 .. my phone undergoing problems like .. struck, slow op-eration...      is this version supports 3g... or else wat should i do now to keep my phone safer and faster

    iam using 3g with the software 4.1.2 .. my phone undergoing problems like .. struck, slow op-eration... 
    is this version supports 3g... or else wat should i do now to keep my phone safer and faster

    iOS: Transferring information from your current iPhone, iPad, or iPod touch to a new device

  • I was lost my pad ios7.1 find my phone was activated lost mode enabled i recieved e mail when this action done also sound play was done also i recieved picture from i cloud on my i phone the problem is that i didnot recieve the place althought the icon no

    i was lost my pad ios7.1 find my phone was activated lost mode enabled
    i recieved e mail when this action done also sound play was done
    also i recieved picture from i cloud on my i phone
    the problem is that i didnot recieve the place althought the icon notify me when found was turned on ????

    Ahmed elsaed abdelgalil wrote:
    also i recieved picture from i cloud on my i phone
    If you received a photo stream photo on your phone, save it to your camera roll, then locate the photo in the Photos section of the Photos app, tap the location listed above the photo in Moments and it should show you where it was taken on a map (assuming location services was enabled for the camera on your phone).

  • A very wired problem of Pages

    I am using Chinese System, and I need to write a lot in English, but I encounter a very very wired problem. For example, after typing January or February, or Monday or Tuesday, I hit space or return key on the keyboard, it will automatically change it into Chinese, who can explain this and tell me how to deal with it? It drives me crazy!
    Thanks

    Vampire,
    Welcome to Apple discussions.
    It sounds like you either have a conflict with a keystroke expander or with Pages built-in auto-correction feature. To test this, try shutting off the auto-correction by clicking on Pages > Preferences > Auto-Correction > then UNcheck Symbol & Text Substitution. Let us know if that works.
    -Dennis

  • I have i phone 5 problems is when my phone battery left 20% then phone automatic shutter down plz tell me solution for this

    i have i phone 5 problems is when my phone battery left 20% then phone automatic shutter down plz tell me solution for this

    It seems like if you have a calibration issue with your battery percentage indicator.
    To recalibrate the indicator, charge your battery to 100% then let it drain completely until the iPhone shuts down then charge it to 100% again and do not disturb it until it reaches 100%.  This will reclaibrate your battery indicator.

  • Wired problems... please help urgent!!!

    Hi all, recently I´m having wired problems in my computer... This describes the problem:
    Laste weak:
    -Computer ´not starting: it was allways hanging up in the Platinum screen at startup;
    -next when it started after reboots, one of my dvdrw drives didnt work (the tray didnt open and windows was unable to show the drive in My Computer... this happened a few times before after installing nvidia ide drivers, but after i unninstalled them, it happened a few times 1 or 2 times again);
    -2 or 3 times the computer didnt start again couse it didnt boot and this message appeared (disk not found please insert system disk or something like that)
    -After changing IDE cable in the hard drive the problem was gone for one day or two.
    Yesterday:
    -computer started giving those blue screens of death after being a while in windows (happened several times);
    -the disk when working like hell (making disk defragmentation and other things) reached critical tempereatures (42 ºc showed in HDD Heath) making wired noises turning on and off
    -after restart it wouldnt start windows (started NVIDIA mac adress client or something like that) the boot in bios has the HD in the 1st priority.
    Can someone help me? Im going crazy with my computer...  im suspectin about my hard drime but... dont know...
    this is my rig:
    Amd Athlon 64 2800+ not overclocked
    MSI k8n Neo platinum nForce3 250Gb whith 5.11 nvidia drivers
    1 Gb memory 2x512Mhz 400 kingston
    ATI Radeon 9600xt with Omega drivers Catalyst 5.12
    120 Gb Samsung HD sp1203n
    450w Power supply 

    Hola,
    I'm affraid I have no good news for you as it looks like your computer's Hard Drives is going down.
    URGENT ATTENTION : Backup all your data inmediatly as it's on high risk of being lost.
    Once you have done this, try (if you can) to test that hard drive in another computer. If you get the same
    results in other computer (clicking and spinning up and down) then the hard drive is damaged for sure.
    NOTE:
    Be sure to test it well, because if may seem to work fine for several minutes or even hours. But if the drive
    is indeed damaged, the problems will be back sooner or later.
    For best results, download (from your hard drive manufacturer's support page) the appropiate diagnostic tool,
    and once you have it, run it from DOS. Your hard drive manufacturer, should have instructions on how to use
    the tool, please read them carefully and follow them correctly in order to get the most accurate results once
    you run the tool.
    In the case the hard drive is faulty, then replace it as soon as you can.
    If not, then remove the cable you're using to connect your hard drive to your mainboard and use a new one,
    and see if the problem persists or not.
    Let us know how it goes ok ?
    Be well and good luck 

  • N95 8GB buttons or wiring problem? Pls Help!!!

    Got me the weirdest problem. If anyone could help please!
    For some odd reasons, the buttons 7,5,9,0 as well as my red and green button do other functions. For example pushing the 7 button would bring out 7283# 5 would bring out 5164, my red button would start playing music. Anyone encounter this problem?
    Bought the phone in San Francisco and said I had a year factory warranty. However, when I called Nokia for the support, they had said my phone was a Malaysian model so they wouldn't fix it in the US.
    Any help or suggestions is welcome. Thank you so much!!!

    I have formatting using the *3+call and did not solve the problem. I even updated to the newest firmware. So far those buttons still do other functions. i would try the *#7370# but the 7 and 0 puts out other numbers... bummer -_- someone said it's due to the internal wiring of slider phones? I appreciate everyone's input!

  • Internal wiring Problems ??

    I have been checking out a friends Broadband Problem for him. He has just moved into  a brand new house with new broadband and new internal wiring to 9 outlets around the house.
    At master socket with all internal wiring Disconnected - he can achieve 5.5Mb/s at all times of the day - this is better than he had hoped based on his location and distance from exchange. BT engineer quite rightly says problem with internal wiring. Once frontplate is reconnected on NTE5 then speed drops to 2.35Mb/s ie less than half.
    I have noticed that the electrician has fitted modular master sockets rather than secondary sockets at each of the internal locations. ie MK K5820 instead of K5821.
    My question is  - is this a possible cause of loss of speed when internal wiring is connected ??

    seniorshot wrote:
    Thankyou John for your prompt reply.
    I am  aware of the "ring" wire and had already removed that at the master socket front plate. (I am a retired BT engineer).
    What I was hoping to find was  someone out there who had experienced a problem after incorrectly fitting master sockets at extension locations rather than secondary sockets.
    Would this cause a line speed degredation similar to my friends..???? The result of fitting master sockets at the nine extension locations would have the effect of having 9 surge protectors and 9 capacitor/470Kohm resistors across the line. Could this affect the ADSL signal.?
    I would like to be able to say with confidence to the original electrician who wired these sockets up, that his mistake is causing this substantial loss in broadband speed.
    More likely poor quality cable degrading the signal, and that is a lot of extensions and wiring.
    There should really be a filtered ADSL faceplate on the master socket to isolate the extensions.
    And the home hub should be plugged into the front of the filtered faceplate.
    At least then, you stand a chance of better performance.
    Filtered faceplate
    There are some useful help pages here, for BT Broadband customers only, on my personal website.
    BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones.

Maybe you are looking for

  • Want to create RFC FM for Getting data in CRM from R/3

    Hi, I have made the RFC connection in CRM system , now I want to make RFC FM for getting data from R/3 'MARD' table into CRM, If any one help me how to do this. From CRM system I will pass Plant & material no to FM and I need Storage location & Stora

  • Joining array variable to create a path

    Hi, I would like merging 3 variables and using it to copy a file. What am I missing? set-variable -name ModuleVariables -visibility public -Scope Script -Value @("\Trousse\Modules","Variables.psm1") set-variable -name $PCompletTrousse -visibility pub

  • Java Certification (SCJP) -- Information

    Hi! All, I want to write SCJP, So, Please, can anyone help me by providing information regarding : 1)Best book for this (or) 2)Best Site, which helps me writes this exam excellently. Note: Any information regarding Sun Java Certication is welcomed wh

  • Having issues deploying Windows updates

    System Center 2012 Config Manager  - 5.0.7804.1000 running on Win Server 2008 R2 SP1 Approx 75 servers (Mix of Server 2003, 08 and 12) and 60 workstations (All Win 7 x64) I took over managing my companys SCCM 2012 a few months ago.  I have System Cen

  • BI 4.0 Universe Security

    Hi, I've got 2 universes (A and B) sitting in BI 4.0. Both were created by me and both were exported to business objects in the same way. Now, I can create webi reports using either universe without a problem but some of my users are only able to ope