Single-mode fiber for 1 Gbps to 10 Gbps?

Hi all

I do a tender for installation of optical fiber connecting the two rooms of 15 m away. We will use single mode with 1000BASE-LX/LH, but I also ask the fiber to support 10 Gbps in the future.

I checked plug FPS and see that 1000BASE-LX/LH and Cisco SFP - 10 G - LR can be used with distances over 2 m without attenuators.

Ethernet Gigabit SFP

10 GB ethernet SFP +.

Question: Do I need to specify any parameter of single-mode fiber that I pay attention so I can have without changing the fiber later? (similar to OM1, OM2, OM3 multi-mode fiber)?

Thank you

Mario

If the difference in price between G652 and G652D is very less you can go to G652D. But if it is substantial, then you can go G652 even in the future, you want to go for 100G. If, as suggested, you can go for fiber Multimode (OM3/4). I feel that 100 G will be useful for the very very large data centers. 10G is there for the last 10 years, but still, it doesnot make sense for many. But virtulaization/blades it will grow faster.

You talk about distance where you don't need characteristic given by G652D. They are mainly for the only service provider to long haul Distances.

Tags: Cisco Network

Similar Questions

  • Connect a transmitter/receiver Base FX 100 to single-mode fiber

    I'm looking to connect to an ISP circuit. The fiber is single mode and they have a transmitter/receiver Base FX 100 on their end.

    I looked at the specs on that transmitter/receiver and it say TI should only be run on SMF.

    Someone at - he had success with this?

    You are welcome.

    For a VERY brief run your FORCES able to get a SM transceiver to work on MM optical fiber.

    Coherent light ("single mode") of the laser, which embarks on a lot more large base of multimode fiber (usually 50 or 62.5 micron vs 9 micron for SM and having different characteristics of propagation and dispersion) can "transfer" over short distances.

    I do in any production environment but that she would probably unstable in the long term (and is certainly not how the equipment is designed to operate).

  • X 2-10 GB - LX4, a minimum of distance - can I use single mode patchcord?

    I need to connect two 6506 with X 2-10 GB-LX4, they reside in adjacent racks, so the length of the cord is not more than 10 meters. X 2-10 GB - LX4 documentation is unclear on SMF ranges, he finds only that

    "Another alternative for short stretches in the same location is to use a single connecting cable. There will be no saturation on single-mode fiber. Please note the 10GBASE-LX4 devices can reach up to 10km over fiber optical Singlemode according to the IEEE compliance. ».

    MMF notes are much clearer, they say I can use OM2 MMF with mode conditioning cables connection and 5db attentuators 1300nm, also I use OM3 MMF with attentuators even, but it's the configurations that I prefer to avoid.

    So could I just get a patchcord SMF and connect to two transceivers? Have I need to use attentuators or anything else on this kind of link?

    According to the documentation and specifications, if you use SMF connection cables, you can connect the two transceivers LX4 together without attenuators or mode of conditioning of the connection cables. Maximum transmission power (-0.5dBm) specifications the LX4 transceiver equals entry specifying the maximum receiver (-0.5dBm).

    The use of the LX4 transceiver for this application of short distance is a very expensive solution. The SX on MMF would be more economical.

  • LC ST adapter Single mode

    Hello

    Currently, we have a cisco 2911 and were given to a single mode fiber of 1000/Mo with a ST connector from our supplier. I'm not able to find all the modules that support this type of interface for our router (most of them are LK). I don't have much experience with fiber, but I found an adapter that converts LC ST (http://www.comtrol.com/pub/products/product/pid/324). It would be a good idea? Also, would I be correct in using this type of module?

    Cisco GLC-LH-SM

    Thank you for your help.

    This is a very common use case. You should check with your provider what their end awaits a laser LH-specification of your end - in most cases they are but it is always good to check.

    We use quite often LC ST (or LC to SC) riders between the equipment of the Subscriber and the patch panel where the fibres of the provider is complete, usually the riser of building or demarcation point (also known as demarc) for external installations.

  • Question about fiber for 2911 modulus

    Hello

    I am kinda new in the world of fiber and would welcome some guidance on how to proceed on some confusion I have.

    We have an access provider that is given to the connection in single-mode fiber (LX) to 10 Mbps with a ST connector. We have a 2911 on site and I did some research on the modules and found the GLC - FE - 100LX module. So my question is this would not negotiate or I would be able to set the speed to 10 MB? IM assuming that this module is a connector LC so just need a cable to LC single mode fiber ST?

    Thank you for your help.

    I would check with the ISP if they actually give you a strangled 10 MB 100Mb connection.  An optical interface 10Mb is not very common these days.  100 MB transceivers not to negotiate at 10 Mb/s.

  • Single-mode App - no longer works with Server 5.1.5

    After updating to the latest version of the Apple Server, 5.1.5 I am more able to lock supervised in single Mode App for applications not pre-installed iOS devices.

    Monomodes existing App for my iOS devices configurations are now broken.

    Anyone else seeing similar behavior?

    I have taken steps of troubleshooting: Update feature. Delete and Repush VPP apps. Reassign the VPP apps. Restart the unit.

    Down on the phone with Support Enterprise AppleCare today. The official solution is to lock the VPP Apps in Mode simple App using device groups instead of locking Apps VPP on different devices under Something MDM. Apple with changing Server 5.1.5 but workaround is completely functional for now, and it's good for me. I hope that this response will help someone else out there.

  • Single-mode App - no longer Server 5.1.5

    After updating to the latest version of the Apple Server, 5.1.5 I am more able to lock supervised in single Mode App for applications not pre-installed iOS devices.

    Monomodes existing App for my iOS devices configurations are now broken.

    Anyone else seeing similar behavior?

    I have taken steps of troubleshooting: Update feature. Delete and Repush VPP apps. Reassign the VPP apps. Restart the unit.

    Down on the phone with Support Enterprise AppleCare today. The official solution is to lock the VPP Apps in Mode simple App using device groups instead of locking Apps VPP on different devices under Something MDM. Apple with changing Server 5.1.5 but workaround is completely functional for now, and it's good for me. I hope that this response will help someone else out there.

  • Why fiber optic use 4 types of connectors? And what is single mode or multimode optical cable thinner?

    Why fiber optic use 4 types of connectors? And what is single mode or multimode optical cable thinner?

    Why fiber optic use 4 types of connectors? And what is single mode or multimode optical cable thinner?

    Hello

    To bookmark this site.  He may have more information for you. Wikipedia

    Joining lengths of optical fiber is more complex than to join the electric wire or cable. The ends of the fibers must be carefully cleavedand then spliced, either mechanically or by merging with heat. Fiber optic connectors for removable connections are also available.

    Scroll to the termination and splicing

  • Can I connect SINGLE MODE SFP (GLC-LH-SM =) to MULTIMODE fiber which has ST connector on the side of Patch

    Can I connect SINGLE MODE SFP (GLC-LH-SM =) to cord fiber MULTIMODE which has ST connector on the other side (patch panel). What is the loss of this set?

    The short answer is Yes.

    The contours of the links up to 550mtrs on multimode fiber SFP datasheet .  You will need to use a Mode conditioning Patch Cord (CMCP) If your installed MMF is OM1 or OM2 rated, kernel 62.5 microns or 50 microns (use MMF cable connection if your fiber installed is OM3/OM4. You can buy MCPCs with hybrid connectors; LC at one end and ST on the other; available at many reputable suppliers.  My link to a hybrid CMCP is 62.5 microns MMF.

    I hope this helps.

  • Mode script for ANY c ++ function

    Hi all

    My goal was to use the pxi 5406 to implement features of frequency sweep. Right now, we use only the functions on the list of the frequencies of creation. There are four modes of release for the frequency list, signle, continuous, step by step and burst. We use the bleachers through fashion. It is painful to use this mode, since for each frequency, you need to send a rising edge, so if I have several hundred, it means I have to produce this amount of rising edges. This will generate a lot of buffer in another analog card.

    My question is, could I use script for the frequency list view? Or is there a smart way to achieve this? From the file of signal aid, he said that there are some c programe on script mode. But I can't find any examples in my computer. If you have any other, could you send me?

    Thank you very much.
    .

    Yami.

    Yami,

    The 5406 has the ability to run script mode. Only for her output modes are Standard function and frequency list. However, I believe that you can do what you want to do with the list mode frequencies. Assuming that you do not want to trigger you can put the camera in single or continuous Mode. Single will play your select frequency scan and then once completed, build:

    Continuous is similar, but you continue to repeat the signals to stop:

    All the above details are in aid of signal generators of NOR. I looked under the heading devices > 5406 > trigger > triggering Modes.

    With simple or continuous, you can specify the length of the waveform step, which could be a good starting point. With regard to the examples for c ++, I do not have, but if you look in the Start Menu, NOR-FGEN, National Instruments, examples, OR-FGEN C examples you can find a folder for "Sweep generator", there is a model and an example C you can look over your program after. I hope this helps!

  • CIF Single Chip driver for Windows 7 64 bit?

    Hello, can you tell me where cam I download CIF Single Chip Driver for Windows 7 Ultimate 64-bit? I have a GEMINI USB webcam color gray and black (I forgot the model and the serial number). It is urgent. Any help is appreciated.

    Hello hicham.

    As you said that the drivers are available only for Windows XP and Windows vista, you can download and install the drivers in compatibility mode.

    Make older programs in this version of Windows
    http://Windows.Microsoft.com/en-CA/Windows/make-older-programs-run#1TC=Windows-7

    If you are still facing other problems with webcam USB Gemini, then you can contact Gemini support.
    http://www.geminidevices.com/support.html
    https://geminidevices.Zendesk.com/home

    I hope this helps.

  • How to enable "mode Hibernate for windows 10.

    Hello

    How to enable "mode Hibernate for windows 10.

    Thank you very much

    Unit: Satellite Pro R50 - B - 10 G

    Hello

    Mode what do you mean exactly: standby mode standby or Hibernation or hybrid?
    You can enable or disable hibernation using the invoked command: powercfg
    start cmd.exe in admin mode!

    Activate the Hibernate in Windows 10: the command prompt enter: powercfg-h on

    Disable the Hibernate in Windows 10: enter in the command line type: powercfg-h off

  • If I use a single individual loop for my video and upload it to youtube will be my video will be blocked or will I get copy right strike?

    If I use a single individual loop for my video and upload it to youtube will be my video will be blocked or will I get copy right strike?

    I already read the agreements loops but unable to understand exactly what it means please help me...

    They say individual loops must not be commercialy or other wise distributed...

    That means individual loop should not be used?

    Is the only thing you can NOT do: "Yes, I did these loops and now I'm selling you these loops, claiming that I just them

    So they are free, but you are not allowed to sell unaltered loops claiming that make them you. So you can use them for any kind of music, published published, obscure, commercial, anything; without additional costs or restrictions.

    Hello... Please help me I want to just use a single loop of logic pro X for my video and want to download YouTube wil...

  • my laptop keeps going mode hibernation for no reason

    my laptop keeps going mode hibernation for no reason

    Hi Alanbyrne1982,

    Welcome and thank you for viewing on the Microsoft Answers community forum.

    It seems that the Hibernate your computer option is turned on. To resolve this problem, I recommend you to follow the steps mentioned in the link mentioned to turn off the hibernation below feature.

    How to disable and re-enable hibernation on a computer that is running Windows Vista:

    http://support.Microsoft.com/kb/920730

    In addition, mentioned below are instructions to change power options where the computer goes to sleep instead of hibernation.

    http://windowshelp.microsoft.com/Windows/en-US/Help/495c2226-19f1-49eb-9fd8-6dd7f2c0b49e1033.mspx.

    Please try these and keep us updated on the status.

    Take care.

    Kind regards

    Cedric M

    Microsoft Answers Support Engineer

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Single SQL query for the analysis of the date of customs declaration under the table of Stock codes

    Dear all,


    Please tell us a single SQL query for the below,

    We have a Table of Stock as shown below,

    STOCK_TABLE

     

    ITEM_CODE

    (item code)

    BAT_NO

    (lot no.)

    TXN_CODE

    (transaction code)

    DOC_NO

    (number)

    BOE_DT

    (date of the customs declaration)

    I1

    B1

    I1

    I2

    I3

    B70

    I4

    B80

    I5

    B90

    T102

    1234

    JULY 2, 2015

    I6

    B100

    We have to find the date of customs declaration (i.e. the date when the items have come under this particular table) for items that are not attached to any document (that is, who have TXN_CODE, DOC_NO and BOE_DT fields with a NULL value).

    For each item in the table of actions, which is not attached to any document, the customs declaration date is calculated as follows.

    1. If (code section, lot number) combination is present under HISTORY_TABLE, the date of customs declaration will receive the UPDT_DT, the transaction code (TXN_CODE) is an IN or transactions (which can be analyzed from the TRANSACTIONS table).

    2. If (code section, lot number) combination is NOT currently at the HISTORY_TABLE (or) the transaction code respective to item - batch number combination code is an operation then customs declaration date will be the date of the document (DOC_DT) that we receive from one of the 3 tables IN_TABLE_HEAD that contains the element of that particular lot.

  • If the case 1 and case 2 fails, our customs declaration date will be the last date of document (DOC_DT) that we receive from one of the 3 tables IN_TABLE_HEAD containing that particular item and the BAT_NO in expected results will be that corresponding to this document, as appropriate, to another NULL.

  • If the case 1 or case 2 is successful, the value of the last field (in the output expected, shown further below) BATCH_YN will be 'Y', because it fits the lot. Otherwise it will be 'n'.
  • HISTORY_TABLE

     

    ITEM_CODE

    BAT_NO

    TXN_CODE

    DOC_NO

    UPDT_DT

    I1

    B1

    T1

    1234

    JANUARY 3, 2015

    I1

    B20

    T20

    4567

    MARCH 3, 2015

    I1

    B30

    T30

    7890

    FEBRUARY 5, 2015

    I2

    B40

    T20

    1234

    JANUARY 1, 2015

    TRANSACTION

     

    TXN_CODE

    TXN_TYPE

    T1

    IN

    T20

    OFF

    T30

    ALL THE

    T50

    IN

    T80

    IN

    T90

    IN

    T60

    ALL THE

    T70

    ALL THE

    T40

    ALL THE

    IN_TABLE_HEAD_1

     

    H1_SYS_ID

    (primary key)

    TXN_CODE

    DOC_NO

    DOC_DATE

    H1ID1

    T1

    1234

    JANUARY 1, 2015

    H1ID2

    T70

    1234

    FEBRUARY 1, 2015

    IN_TABLE_ITEM_1

     

    I1_SYS_ID

    H1_SYS_ID

    (foreign key referencing H1_SYS_ID in IN_TABLE_HEAD_1)

    ITEM_CODE

    I1ID1

    H1ID1

    I1

    I1ID2

    H1ID1

    I100

    I1ID3

    H1ID2

    I3

    IN_TABLE_BATCH_1

     

    B1_SYS_ID

    TXN_CODE                DOC_NO

    (now in IN_TABLE_HEAD_1)

    BAT_NO

    B1ID1

    T1

    1234

    B1 / can be empty

    B1ID2

    T70

    1234

    B70

    IN_TABLE_HEAD_2

     

    H2_SYS_ID

    (primary key)

    TXN_CODE

    DOC_NO

    DOC_DATE

    H2ID1

    T30

    4567

    FEBRUARY 3, 2015

    H2ID2

    T60

    1234

    JANUARY 3, 2015

    IN_TABLE_ITEM_2

     

    I2_SYS_ID

    H2_SYS_ID

    (foreign key referencing H2_SYS_ID in IN_TABLE_HEAD_2)

    ITEM_CODE

    I2ID1

    H2ID1

    I1

    I2ID2

    H2ID1

    I200

    I2ID3

    H2ID2

    I2

    IN_TABLE_BATCH_2

     

    B2_SYS_ID

    I2_SYS_ID

    (foreign key referencing I2_SYS_ID in IN_TABLE_ITEM_2)

    BAT_NO

    B2ID1

    I2ID1

    B30 / null

    B2ID2

    I2ID2

    B90

    B2ID2

    I2ID3

    B60

    IN_TABLE_HEAD_3

     

    H3_SYS_ID

    (primary key)

    TXN_CODE

    DOC_NO

    DOC_DATE

    H3ID1

    T50

    1234

    JANUARY 2, 2015

    H3ID2

    T80

    1234

    JANUARY 3, 2015

    H3ID3

    T90

    1234

    JANUARY 4, 2015

    H3ID4

    T40

    1234

    AUGUST 5, 2015

    IN_TABLE_ITEM_3

     

    I3_SYS_ID

    H3_SYS_ID

    (foreign key referencing H3_SYS_ID in IN_TABLE_HEAD_3)

    ITEM_CODE

    BAT_NO

    I3ID1

    H31D1

    I2

    B50

    I3ID2

    H3ID2

    I4

    B40

    I3ID3

    H3ID3

    I4

    I3ID4

    H3ID4

    I6

    There is no IN_TABLE_BATCH_3

    Please find below the expected results.

    OUTPUT

     

    ITEM_CODE

    BAT_NO

    TXN_CODE

    DOC_NO

    BOE_DT

    BATCH_YN

    I1

    B1

    T1

    1234

    JANUARY 3, 2015

    THERE

    I1

    B30

    T30

    7890

    FEBRUARY 5, 2015

    N

    I2

    B60

    T60

    1234

    JANUARY 3, 2015

    N

    I3

    B70

    T70

    1234

    FEBRUARY 1, 2015

    THERE

    I4

    T90

    1234

    JANUARY 4, 2015

    N

    I6

    T40

    1234

    AUGUST 5, 2015

    N

    Controls database to create the tables above and insert the records.

    CREATE TABLE stock_table()item_code VARCHAR2()80),bat_no VARCHAR2()80),txn_code VARCHAR2()80),

    doc_no VARCHAR2 (80), boe_dt DATE );

    INSERT EN stock_table

       VALUES ('I1', 'B1', '', '', '');

    INSERT EN stock_table

       VALUES ('I1', '', '', '', '');

    INSERT IN stock_table

       VALUES ('I2', '', '', '', '');

    INSERT EN stock_table

       VALUES ('I3', 'B70', '', '', '');

    INSERT EN stock_table

       VALUES ('I4', 'B80', '', '', '');

    INSERT EN stock_table

       VALUES ('I5', 'B90', 'T102', '1234', '02-JUL-2015');

    INSERT EN stock_table

       VALUES ('I6', 'B100', '', '', '');

    SELECT *

    FROM stock_table




     

    CREATE TABLE history_table()item_code VARCHAR2()80),bat_no VARCHAR2()80),txn_code VARCHAR2()80),

    doc_no VARCHAR2 (80), updt_dt DATE );

    INSERT IN history_table

       VALUES ('I1', 'B1', 'T1', '1234', '03-JAN-2015');

    INSERT IN history_table

       VALUES ('I1', 'B20', 'T20', '4567', '03-MAR-2015');

    INSERT IN history_table

       VALUES ('I1', 'B30', 'T30', '7890', '05-FEB-2015');

    INSERT IN history_table

       VALUES ('I2', 'B40', 'T20', '1234', '01-JAN-2015');

    SELECT *

    FROM history_table




     

    CREATE TABLE transaction1()txn_code VARCHAR()80),txn_type VARCHAR()80));


    INSERT INTO transaction1

       VALUES ('T1', 'IN');


    INSERT INTO transaction1

       VALUES ('T20', 'OUT');

    INSERT INTO transaction1

       VALUES ('T30', 'ALL');

    INSERT INTO transaction1

       VALUES ('T40', 'ALL');

    INSERT INTO transaction1

       VALUES ('T50', 'IN');

    INSERT INTO transaction1

       VALUES ('T60', 'ALL');

    INSERT INTO transaction1

       VALUES ('T70', 'ALL');

    INSERT INTO transaction1

       VALUES ('T80', 'IN');

    INSERT INTO transaction1

       VALUES ('T90', 'IN');

    SELECT *

    FROM transaction1




     

    CREATE TABLE in_table_head_1()h1_sys_id VARCHAR2()80) PRIMARY KEY,txn_code VARCHAR2()80),

    doc_no VARCHAR2 (80), doc_dt DATE );

    CREATE TABLE in_table_head_2()h2_sys_id VARCHAR2()80) PRIMARY KEY,txn_code VARCHAR2()80),

    doc_no VARCHAR2 (80), doc_dt DATE );

    CREATE TABLE in_table_head_3()h3_sys_id VARCHAR2()80) PRIMARY KEY,txn_code VARCHAR2()80),

    doc_no VARCHAR2 (80), doc_dt DATE );

     

    INSERT IN in_table_head_1

       VALUES ('H1ID1', 'T1', '1234', '01-JAN-2015');

    INSERT IN in_table_head_1

       VALUES ('H1ID2', 'T70', '1234', '01-FEB-2015');

    INSERT IN in_table_head_2

       VALUES ('H2ID1', 'T30', '4567', '03-FEB-2015');

    INSERT IN in_table_head_2

       VALUES ('H2ID2', 'T60', '1234', '03-JAN-2015');

    INSERT IN in_table_head_3

       VALUES ('H3ID1', 'T50', '1234', '02-JAN-2015');

    INSERT IN in_table_head_3

       VALUES ('H3ID2', 'T80', '1234', '03-JAN-2015');

    INSERT IN in_table_head_3

       VALUES ('H3ID3', 'T90', '1234', '05-JAN-2015');

    INSERT IN in_table_head_3

       VALUES ('H3ID4', 'T40', '1234', '05-AUG-2015');




     

    CREATE TABLE in_table_item_1()i1_sys_id VARCHAR2()80) PRIMARY KEY,

    h1_sys_id VARCHAR2 (80) REFERENCES in_table_head_1()h1_sys_id),item_code VARCHAR2()80));

    CREATE TABLE in_table_item_2()i2_sys_id VARCHAR2()80) PRIMARY KEY,

    h2_sys_id VARCHAR2 (80) REFERENCES in_table_head_2()h2_sys_id),item_code VARCHAR2()80));

    CREATE TABLE in_table_item_3(i3_sys_id VARCHAR2(80) PRIMARY KEY,

    h3_sys_id VARCHAR2 (80) REFERENCES in_table_head_3()h3_sys_id),item_code VARCHAR2()80),

    bat_no VARCHAR2 (80));

     

    INSERT IN in_table_item_1

       VALUES ('I1ID1', 'H1ID1', 'I1');

    INSERT IN in_table_item_1

       VALUES ('I1ID2', 'H1ID1', 'I100');

    INSERT IN in_table_item_1

       VALUES ('I1ID3', 'H1ID2', 'I3');

    INSERT IN in_table_item_2

       VALUES ('I2ID1', 'H2ID1', 'I1');

    INSERT IN in_table_item_2

       VALUES ('I2ID2', 'H2ID1', 'I200');

    INSERT IN in_table_item_2

       VALUES ('I2ID3', 'H2ID2', 'I2');

    INSERT IN in_table_item_3

       VALUES ('I3ID1', 'H3ID1', 'I2','B50');

    INSERT IN in_table_item_3

       VALUES ('I3ID2', 'H3ID2', 'I4','B40');

    INSERT IN in_table_item_3

       VALUES ('I3ID3', 'H3ID3', 'I4','');

    INSERT IN in_table_item_3

       VALUES ('I3ID4', 'H3ID4', 'I6','');

    SELECT *

    FROM in_table_item_1

    SELECT *

    FROM in_table_item_2

    SELECT *

    FROM in_table_item_3




     

    CREATE TABLE in_table_batch_1()b1_sys_id VARCHAR2()80) PRIMARY KEY,

    txn_code VARCHAR2 (80), doc_no VARCHAR2 (80), bat_no VARCHAR2 (80));

    CREATE TABLE in_table_batch_2()b2_sys_id VARCHAR2()80) PRIMARY KEY,

    i2_sys_id VARCHAR2 (80) REFERENCES in_table_item_2()i2_sys_id),bat_no VARCHAR2()80));

     

    INSERT IN in_table_batch_1

       VALUES ('B1ID1', 'T1', '1234', 'B1');

    INSERT IN in_table_batch_1

       VALUES ('B1ID2', 'T70', '1234', 'B70');

    INSERT IN in_table_batch_2

       VALUES ('B2ID1', 'I2ID1', 'B30');

    INSERT IN in_table_batch_2

       VALUES ('B2ID2', 'I2ID2', 'B90');

    INSERT IN in_table_batch_2

       VALUES ('B2ID3', 'I2ID3', 'B60');

    Please advise a solution for the same.

    Thank you and best regards,

    Séverine Suresh

    very forced (question subfactoring used to allow easy testing/verification - could work with these test data only)

    with

    case_1 as

    (select s.item_code,

    s.bat_no,

    h.txn_code,

    h.doc_no,

    h.updt_dt boe_dt,

    cases where s.bat_no = h.bat_no then 'Y' else ' n end batch_yn.

    cases where h.txn_code is not null

    and h.doc_no is not null

    and h.updt_dt is not null

    then 'case 1' '.

    end refers_to

    from (select item_code, bat_no, txn_code, doc_no, boe_dt

    of w_stock_table

    where bat_no is null

    or txn_code is null

    or doc_no is null

    or boe_dt is null

    ) s

    left outer join

    w_history_table h

    On s.item_code = h.item_code

    and s.bat_no = h.bat_no

    and exists (select null

    of w_transaction1

    where txn_code = nvl (s.txn_code, h.txn_code)

    and txn_type in ('IN', 'ALL')

    )

    ),

    case_2 as

    (select s.item_code,

    NVL (s.bat_no, h.bat_no) bat_no.

    NVL (s.txn_code, h.txn_code) txn_code.

    NVL (s.doc_no, h.doc_no) doc_no.

    NVL (s.boe_dt, h.updt_dt) updt_dt.

    cases where s.bat_no = h.bat_no then 'Y' else ' n end batch_yn.

    cases where h.txn_code is not null

    and h.doc_no is not null

    and h.updt_dt is not null

    then 'case 2'.

    end refers_to

    from (select item_code, bat_no, txn_code, doc_no, boe_dt

    of case_1

    where refers_to is null

    ) s

    left outer join

    w_history_table h

    On s.item_code = h.item_code

    and exists (select null

    of w_transaction1

    where txn_code = nvl (s.txn_code, h.txn_code)

    and txn_type in ('IN', 'ALL')

    )

    and not exists (select null

    of case_1

    where item_code = h.item_code

    and bat_no = h.bat_no

    and txn_code = h.txn_code

    and doc_no = h.doc_no

    and updt_dt = h.updt_dt

    )

    ),

    case_31 as

    (select s1.item_code,

    NVL (S1.bat_no, W1.bat_no) bat_no.

    NVL (S1.txn_code, W1.txn_code) txn_code.

    NVL (S1.doc_no, W1.doc_no) doc_no.

    NVL (S1.updt_dt, W1.doc_dt) updt_dt.

    cases where s1.bat_no = w1.bat_no then 'Y' else ' n end batch_yn.

    cases where w1.txn_code is not null

    and w1.doc_no is not null

    and w1.doc_dt is not null

    then "case 31'.

    end refers_to

    from (select item_code, bat_no, txn_code, doc_no, updt_dt, batch_yn, refers_to

    of case_2

    where refers_to is null

    ) s1

    left outer join

    (select i1.item_code, h1.txn_code, h1.doc_no, h1.doc_dt, b1.bat_no

    of w_in_table_item_1 i1

    inner join

    w_in_table_head_1 h1

    On i1.h1_sys_id = h1.h1_sys_id

    inner join

    w_in_table_batch_1 b1

    On h1.txn_code = b1.txn_code

    and h1.doc_no = b1.doc_no

    ) w1

    On s1.item_code = w1.item_code

    ),

    case_32 as

    (select s2.item_code,

    NVL (S2.bat_no, W2.bat_no) bat_no.

    NVL (S2.txn_code, W2.txn_code) txn_code.

    NVL (S2.doc_no, W2.doc_no) doc_no.

    NVL (S2.updt_dt, W2.doc_dt) updt_dt.

    cases where s2.bat_no = w2.bat_no then 'Y' else ' n end batch_yn.

    cases where w2.txn_code is not null

    and w2.doc_no is not null

    and w2.doc_dt is not null

    then "case 32'.

    end refers_to

    from (select item_code, bat_no, txn_code, doc_no, updt_dt, batch_yn, refers_to

    of case_2

    where refers_to is null

    ) s2

    left outer join

    (select i2.item_code, h2.txn_code, h2.doc_no, h2.doc_dt, b2.bat_no

    of w_in_table_item_2 i2

    inner join

    w_in_table_head_2 h2

    On i2.h2_sys_id = h2.h2_sys_id

    inner join

    w_in_table_batch_2 b2

    On i2.i2_sys_id = b2.i2_sys_id

    ) w2

    On s2.item_code = w2.item_code

    ),

    case_33 as

    (select s3.item_code,

    w3.bat_no,

    NVL (S3.txn_code, w3.txn_code) txn_code.

    NVL (S3.doc_no, w3.doc_no) doc_no.

    NVL (S3.updt_dt, w3.doc_dt) updt_dt.

    cases where s3.bat_no = w3.bat_no then 'Y' else ' n end batch_yn.

    cases where w3.txn_code is not null

    and w3.doc_no is not null

    and w3.doc_dt is not null

    then "case 33'.

    end refers_to

    from (select item_code, bat_no, txn_code, doc_no, updt_dt, batch_yn, refers_to

    of case_2

    where refers_to is null

    ) s3

    left outer join

    (select i3.item_code, h3.txn_code, h3.doc_no, h3.doc_dt, i3.bat_no

    of w_in_table_item_3 i3

    inner join

    w_in_table_head_3 h3

    On i3.h3_sys_id = h3.h3_sys_id

    ) w3

    On s3.item_code = w3.item_code

    )

    Select item_code, bat_no, txn_code, doc_no, boe_dt, batch_yn

    of case_1

    where refers_to is not null

    Union of all the

    Select item_code, bat_no, txn_code, doc_no, updt_dt, batch_yn

    of case_2

    where refers_to is not null

    Union of all the

    Select item_code, bat_no, txn_code, doc_no, updt_dt, batch_yn

    from (select item_code, bat_no, txn_code, doc_no, updt_dt, batch_yn,

    ROW_NUMBER() over (partition by item_code of updt_dt desc order) rn

    from (select item_code, bat_no, txn_code, doc_no, updt_dt, batch_yn

    of case_31

    where refers_to is not null

    Union of all the

    Select item_code, bat_no, txn_code, doc_no, updt_dt, batch_yn

    of case_32

    where refers_to is not null

    Union of all the

    Select item_code, bat_no, txn_code, doc_no, updt_dt, batch_yn

    of case_33

    where refers_to is not null

    )

    )

    where rn = 1

    ITEM_CODE BAT_NO TXN_CODE DOC_NO BOE_DT BATCH_YN
    I1 B1 T1 1234 JANUARY 3, 2015 THERE
    I1 B30 T30 7890 FEBRUARY 5, 2015 N
    I2 B60 T60 1234 JANUARY 3, 2015 N
    I3 B70 T70 1234 FEBRUARY 1, 2015 THERE
    I4 - T90 1234 JANUARY 5, 2015 N
    I6 - T40 1234 AUGUST 5, 2015 N

    Concerning

    Etbin

Maybe you are looking for

  • IPhone US 6 s in Germany?

    Hello I come from Germany and I think to buy an iPhone 6s in Seattle when I am there in August. My question is, it will work in Germany when I buy sim lock free? I heard that the United States use different frequencies of the mobile service that in G

  • On the latest version of Mozilla FireFox

    Hi there, if I suspect that my Mozilla Firefox is already outdated. How can I check for the latest version of Mozilla Firefox and how to upgrade to the latest version? Thank you for your sincere help 1 million.

  • won't print excel documents

    We have a Dell Vostro 200 desktop computer that we have recently upgraded from Windows XP to Windows 7.  We have a HP Photosmart c5580 all-in-one printer.  I have Microsoft Office 2003.  Recently downloaded HP driver version 13.0 for internet softwar

  • Skype account MS merger

    Hello My case is truly unique, so I got a hell of a time finding a solution. * TLDR downstairs I had a Skype account for a very long time (this account) and also an MS account that I was using for WLM etc. These 2 accounts used 2 different emails. At

  • someone like putting a password admin on my laptop and now I can not derfrag or something its running really slow I don't know the admin password

    someone like said a password admin on my computer I can't defragment or something, I really like the factory restore, but it won't let me not I do not know the password