Query that Never comes out

Hi ,
We have sql Query which never comes out even after 2 hours.
DB =10.2.0.4
OS=Solaris 10
billing_trd@MIFEX3> select * from tibex_qscacheloadordering where qsid='QS1';
Execution Plan
Plan hash value: 1371436155
| Id  | Operation                                 | Name                      | Rows  | Bytes |TempSpc| Cost (%CPU)| Time     |
|   0 | SELECT STATEMENT                          |                           |   154 |  3234 |       |    40M  (1)|135:17:50 |
|   1 |  VIEW                                     | TIBEX_QSCACHELOADORDERING |   154 |  3234 |       |    40M  (1)|135:17:50 |
|   2 |   SORT ORDER BY                           |                           |   154 |  5236 |       |    40M  (1)|135:17:50 |
|   3 |    HASH GROUP BY                          |                           |   154 |  5236 |       |    40M  (1)|135:17:50 |
|   4 |     VIEW                                  |                           |   154 |  5236 |       |    40M  (1)|135:17:50 |
|   5 |      SORT UNIQUE                          |                           |   154 |  3309 |       |    40M  (1)|135:17:50 |
|   6 |       UNION-ALL                           |                           |       |       |       |            |          |
|   7 |        HASH GROUP BY                      |                           |   141 |  2961 |       |    40M  (1)|135:17:20 |
|   8 |         VIEW                              | TIBEX_ORDERSBYQSIDVIEW    |   141 |  2961 |       |    40M  (1)|135:17:20 |
|   9 |          UNION-ALL                        |                           |       |       |       |            |          |
|* 10 |           FILTER                          |                           |       |       |       |            |          |
|  11 |            HASH GROUP BY                  |                           |   140 | 46760 |       |   443K  (1)| 01:28:47 |
|* 12 |             HASH JOIN                     |                           |    20M|  6488M|       |   442K  (1)| 01:28:36 |
|  13 |              TABLE ACCESS BY INDEX ROWID  | TIBEX_PARTICIPANT         |    28 |   616 |       |     2   (0)| 00:00:01 |
|* 14 |               INDEX RANGE SCAN            | TIBEX_PARTICIPANTQSID     |    28 |       |       |     1   (0)| 00:00:01 |
|* 15 |              HASH JOIN                    |                           |    20M|  6060M|       |   442K  (1)| 01:28:35 |
|  16 |               INLIST ITERATOR             |                           |       |       |       |            |          |
|  17 |                TABLE ACCESS BY INDEX ROWID| TIBEX_ORDERSTATUSENUM     |     4 |   104 |       |     2   (0)| 00:00:01 |
|* 18 |                 INDEX RANGE SCAN          | TIBEX_ORDERSTAT_ID_DESC   |     4 |       |       |     1   (0)| 00:00:01 |
|* 19 |               HASH JOIN                   |                           |    20M|  5555M|   733M|   442K  (1)| 01:28:34 |
|* 20 |                TABLE ACCESS FULL          | TIBEX_ORDER               |    16M|   549M|       |   103K  (1)| 00:20:47 |
|  21 |                TABLE ACCESS FULL          | TIBEX_ORDER               |    16M|  3818M|       |   104K  (1)| 00:20:49 |
|* 22 |           FILTER                          |                           |       |       |       |            |          |
|* 23 |            HASH JOIN                      |                           |  8007K|   450M|       |   104K  (1)| 00:20:50 |
|  24 |             MERGE JOIN CARTESIAN          |                           |    28 |   672 |       |     3   (0)| 00:00:01 |
|  25 |              TABLE ACCESS BY INDEX ROWID  | TIBEX_ORDERSTATUSENUM     |     1 |    14 |       |     2   (0)| 00:00:01 |
|* 26 |               INDEX RANGE SCAN            | TIBEX_ORDERSTAT_ID_DESC   |     1 |       |       |     1   (0)| 00:00:01 |
|  27 |              BUFFER SORT                  |                           |    28 |   280 |       |     1   (0)| 00:00:01 |
|  28 |               TABLE ACCESS BY INDEX ROWID | TIBEX_PARTICIPANT         |    28 |   280 |       |     1   (0)| 00:00:01 |
|* 29 |                INDEX RANGE SCAN           | TIBEX_PARTICIPANTQSID     |    28 |       |       |     0   (0)| 00:00:01 |
|  30 |             TABLE ACCESS FULL             | TIBEX_ORDER               |    16M|   534M|       |   104K  (1)| 00:20:49 |
|  31 |            SORT AGGREGATE                 |                           |     1 |    27 |       |            |          |
|* 32 |             TABLE ACCESS BY INDEX ROWID   | TIBEX_ORDER               |     1 |    27 |       |     5   (0)| 00:00:01 |
|* 33 |              INDEX RANGE SCAN             | IX_ORDERBOOK              |     1 |       |       |     4   (0)| 00:00:01 |
|  34 |        HASH GROUP BY                      |                           |     1 |    99 |       |  2473   (2)| 00:00:30 |
|  35 |         NESTED LOOPS                      |                           |     1 |    99 |       |  2471   (2)| 00:00:30 |
|  36 |          NESTED LOOPS                     |                           |     1 |    89 |       |  2470   (2)| 00:00:30 |
|* 37 |           HASH JOIN RIGHT SEMI            |                           |     1 |    75 |       |  2469   (2)| 00:00:30 |
|  38 |            VIEW                           | VW_NSO_2                  |   842 | 28628 |       |  1237   (2)| 00:00:15 |
|  39 |             HASH GROUP BY                 |                           |   842 | 31154 |       |  1237   (2)| 00:00:15 |
|* 40 |              TABLE ACCESS FULL            | TIBEX_QUOTE               |   191K|  6906K|       |  1230   (1)| 00:00:15 |
|  41 |            TABLE ACCESS FULL              | TIBEX_QUOTE               |   191K|  7659K|       |  1230   (1)| 00:00:15 |
|* 42 |           TABLE ACCESS BY INDEX ROWID     | TIBEX_QUOTESTATUSENUM     |     1 |    14 |       |     1   (0)| 00:00:01 |
|* 43 |            INDEX UNIQUE SCAN              | XPKTIBEX_QUOTESTATUSENUM  |     1 |       |       |     0   (0)| 00:00:01 |
|* 44 |          TABLE ACCESS BY INDEX ROWID      | TIBEX_PARTICIPANT         |     1 |    10 |       |     1   (0)| 00:00:01 |
|* 45 |           INDEX UNIQUE SCAN               | XPKTIBEX_PARTICIPANT      |     1 |       |       |     0   (0)| 00:00:01 |
|  46 |        HASH GROUP BY                      |                           |    11 |   231 |       |    59  (16)| 00:00:01 |
|  47 |         VIEW                              |                           |    11 |   231 |       |    57  (13)| 00:00:01 |
|  48 |          SORT UNIQUE                      |                           |    11 |  2288 |       |    57  (57)| 00:00:01 |
|  49 |           UNION-ALL                       |                           |       |       |       |            |          |
|* 50 |            FILTER                         |                           |       |       |       |            |          |
|  51 |             HASH GROUP BY                 |                           |     6 |  1248 |       |    29  (14)| 00:00:01 |
|* 52 |              HASH JOIN                    |                           |  1541 |   313K|       |    27   (8)| 00:00:01 |
|  53 |               TABLE ACCESS BY INDEX ROWID | TIBEX_PARTICIPANT         |    28 |   616 |       |     2   (0)| 00:00:01 |
|* 54 |                INDEX RANGE SCAN           | TIBEX_PARTICIPANTQSID     |    28 |       |       |     1   (0)| 00:00:01 |
|* 55 |               HASH JOIN                   |                           |  1541 |   279K|       |    24   (5)| 00:00:01 |
|* 56 |                HASH JOIN RIGHT ANTI       |                           |  1541 | 86296 |       |    14   (8)| 00:00:01 |
|* 57 |                 TABLE ACCESS FULL         | TIBEX_BESTEXECSTATUSENUM  |     1 |    14 |       |     3   (0)| 00:00:01 |
|  58 |                 TABLE ACCESS FULL         | TIBEX_BESTEXREL           |  2311 | 97062 |       |    10   (0)| 00:00:01 |
|  59 |                TABLE ACCESS FULL          | TIBEX_BESTEXREL           |  2311 |   293K|       |    10   (0)| 00:00:01 |
|* 60 |            FILTER                         |                           |       |       |       |            |          |
|  61 |             HASH GROUP BY                 |                           |     5 |  1040 |       |    29  (14)| 00:00:01 |
|* 62 |              HASH JOIN                    |                           |  1321 |   268K|       |    27   (8)| 00:00:01 |
|  63 |               TABLE ACCESS BY INDEX ROWID | TIBEX_PARTICIPANT         |    28 |   616 |       |     2   (0)| 00:00:01 |
|* 64 |                INDEX RANGE SCAN           | TIBEX_PARTICIPANTQSID     |    28 |       |       |     1   (0)| 00:00:01 |
|* 65 |               HASH JOIN                   |                           |  1321 |   239K|       |    24   (5)| 00:00:01 |
|* 66 |                HASH JOIN RIGHT ANTI       |                           |  1541 | 86296 |       |    14   (8)| 00:00:01 |
|* 67 |                 TABLE ACCESS FULL         | TIBEX_BESTEXECSTATUSENUM  |     1 |    14 |       |     3   (0)| 00:00:01 |
|  68 |                 TABLE ACCESS FULL         | TIBEX_BESTEXREL           |  2311 | 97062 |       |    10   (0)| 00:00:01 |
|* 69 |                TABLE ACCESS FULL          | TIBEX_BESTEXREL           |  1981 |   251K|       |    10   (0)| 00:00:01 |
|  70 |        HASH GROUP BY                      |                           |     1 |    18 |       |     7  (43)| 00:00:01 |
|  71 |         VIEW                              | TIBEX_TSTRADEBYQSIDVIEW   |     1 |    18 |       |     5  (20)| 00:00:01 |
|  72 |          HASH UNIQUE                      |                           |     1 |   818 |       |     5  (20)| 00:00:01 |
|* 73 |           FILTER                          |                           |       |       |       |            |          |
|  74 |            NESTED LOOPS                   |                           |     1 |   818 |       |     2   (0)| 00:00:01 |
|  75 |             TABLE ACCESS FULL             | TIBEX_TSTRADE             |     1 |   808 |       |     2   (0)| 00:00:01 |
|* 76 |             TABLE ACCESS BY INDEX ROWID   | TIBEX_PARTICIPANT         |     1 |    10 |       |     0   (0)| 00:00:01 |
|* 77 |              INDEX UNIQUE SCAN            | XPKTIBEX_PARTICIPANT      |     1 |       |       |     0   (0)| 00:00:01 |
|  78 |            SORT AGGREGATE                 |                           |     1 |    35 |       |            |          |
|* 79 |             TABLE ACCESS FULL             | TIBEX_TSTRADE             |     1 |    35 |       |     2   (0)| 00:00:01 |
Predicate Information (identified by operation id):
  10 - filter("A"."MESSAGESEQUENCE"=MAX("C"."MESSAGESEQUENCE"))
  12 - access("A"."PARTICIPANTID"="B"."PARTICIPANTID")
  14 - access("B"."QSID"='QS1')
  15 - access("A"."ORDERSTATUS"="ORDERSTATUS")
  18 - access("SHORTDESC"='ORD_CANCEL' OR "SHORTDESC"='ORD_EXPIRE' OR "SHORTDESC"='ORD_FILLED' OR
              "SHORTDESC"='ORD_OPEN')
  19 - access("A"."ORDERID"="C"."ORDERID")
  20 - filter("LASTINSTREJECTCODE"='OK')
  22 - filter( (SELECT COUNT(*) FROM BILLING_TRD."TIBEX_ORDER" "C" WHERE "C"."ORDERID"=:B1 AND
              "C"."INSTRUMENTID"=:B2)=1)
  23 - access("A"."PARTICIPANTID"="B"."PARTICIPANTID" AND "ORDERSTATUS"="ORDERSTATUS")
  26 - access("SHORTDESC"='ORD_REJECT')
  29 - access("B"."QSID"='QS1')
  32 - filter("C"."INSTRUMENTID"=:B1)
  33 - access("C"."ORDERID"=:B1)
  37 - access("A"."MESSAGESEQUENCE"="$nso_col_1" AND "A"."QUOTEID"="$nso_col_2")
  40 - filter("LASTINSTREJECTCODE"='OK')
  42 - filter("SHORTDESC"='QUO_OFFMKT' OR "SHORTDESC"='QUO_ONMKT' OR "SHORTDESC"='QUO_PREOPN')
  43 - access("A"."QUOTESTATUS"="QUOTESTATUS")
  44 - filter("B"."QSID"='QS1')
  45 - access("A"."PARTICIPANTID"="B"."PARTICIPANTID")
  50 - filter("MESSAGESEQUENCE"=MAX("MESSAGESEQUENCE"))
  52 - access("PARTICIPANTID"="B"."PARTICIPANTID")
  54 - access("B"."QSID"='QS1')
  55 - access("A"."INSTRUMENTID"="INSTRUMENTID" AND "A"."PARTNEREXID"="PARTNEREXID")
  56 - access("B"."BESTEXECSTATUS"="BESTEXECSTATUS")
  57 - filter("SHORTDESC"='BESTEX_REJ')
  60 - filter("MESSAGESEQUENCE"=MAX("MESSAGESEQUENCE"))
  62 - access("PARTICIPANTIDMM"="D"."PARTICIPANTID")
  64 - access("D"."QSID"='QS1')
  65 - access("A"."INSTRUMENTID"="INSTRUMENTID" AND "A"."PARTNEREXID"="PARTNEREXID")
  66 - access("B"."BESTEXECSTATUS"="BESTEXECSTATUS")
  67 - filter("SHORTDESC"='BESTEX_REJ')
  69 - filter("PARTICIPANTID"<>"PARTICIPANTIDMM")
  73 - filter("MESSAGESEQUENCE"= (SELECT MAX("MESSAGESEQUENCE") FROM BILLING_TRD."TIBEX_TSTRADE" "C" WHERE
              "C"."TSTRADEID"=:B1))
  76 - filter("B"."QSID"='QS1')
  77 - access("A"."PARTICIPANTID"="B"."PARTICIPANTID")
  79 - filter("C"."TSTRADEID"=:B1)
illing_trd@MIFEX3> SELECT participantid, qsid, count(*) as cnt FROM tibex_ordersbyqsidview  GROUP BY participantid,qsid;
Execution Plan
Plan hash value: 2717629353
| Id  | Operation                           | Name                    | Rows  | Bytes |TempSpc| Cost (%CPU)| Time     |
|   0 | SELECT STATEMENT                    |                         |   141 |  2961 |       |    40M  (1)|135:17:20 |
|   1 |  HASH GROUP BY                      |                         |   141 |  2961 |       |    40M  (1)|135:17:20 |
|   2 |   VIEW                              | TIBEX_ORDERSBYQSIDVIEW  |   141 |  2961 |       |    40M  (1)|135:17:20 |
|   3 |    UNION-ALL                        |                         |       |       |       |            |          |
|*  4 |     FILTER                          |                         |       |       |       |            |          |
|   5 |      HASH GROUP BY                  |                         |   140 | 46760 |       |   443K  (1)| 01:28:47 |
|*  6 |       HASH JOIN                     |                         |    20M|  6488M|       |   442K  (1)| 01:28:36 |
|   7 |        TABLE ACCESS FULL            | TIBEX_PARTICIPANT       |    28 |   616 |       |     3   (0)| 00:00:01 |
|*  8 |        HASH JOIN                    |                         |    20M|  6060M|       |   442K  (1)| 01:28:35 |
|   9 |         INLIST ITERATOR             |                         |       |       |       |            |          |
|  10 |          TABLE ACCESS BY INDEX ROWID| TIBEX_ORDERSTATUSENUM   |     4 |   104 |       |     2   (0)| 00:00:01 |
|* 11 |           INDEX RANGE SCAN          | TIBEX_ORDERSTAT_ID_DESC |     4 |       |       |     1   (0)| 00:00:01 |
|* 12 |         HASH JOIN                   |                         |    20M|  5555M|   733M|   442K  (1)| 01:28:34 |
|* 13 |          TABLE ACCESS FULL          | TIBEX_ORDER             |    16M|   549M|       |   103K  (1)| 00:20:47 |
|  14 |          TABLE ACCESS FULL          | TIBEX_ORDER             |    16M|  3818M|       |   104K  (1)| 00:20:49 |
|* 15 |     FILTER                          |                         |       |       |       |            |          |
|* 16 |      HASH JOIN                      |                         |  8007K|   450M|       |   104K  (1)| 00:20:50 |
|  17 |       MERGE JOIN CARTESIAN          |                         |    28 |   672 |       |     5   (0)| 00:00:01 |
|  18 |        TABLE ACCESS BY INDEX ROWID  | TIBEX_ORDERSTATUSENUM   |     1 |    14 |       |     2   (0)| 00:00:01 |
|* 19 |         INDEX RANGE SCAN            | TIBEX_ORDERSTAT_ID_DESC |     1 |       |       |     1   (0)| 00:00:01 |
|  20 |        BUFFER SORT                  |                         |    28 |   280 |       |     3   (0)| 00:00:01 |
|  21 |         TABLE ACCESS FULL           | TIBEX_PARTICIPANT       |    28 |   280 |       |     3   (0)| 00:00:01 |
|  22 |       TABLE ACCESS FULL             | TIBEX_ORDER             |    16M|   534M|       |   104K  (1)| 00:20:49 |
|  23 |      SORT AGGREGATE                 |                         |     1 |    27 |       |            |          |
|* 24 |       TABLE ACCESS BY INDEX ROWID   | TIBEX_ORDER             |     1 |    27 |       |     5   (0)| 00:00:01 |
|* 25 |        INDEX RANGE SCAN             | IX_ORDERBOOK            |     1 |       |       |     4   (0)| 00:00:01 |
Predicate Information (identified by operation id):
   4 - filter("A"."MESSAGESEQUENCE"=MAX("C"."MESSAGESEQUENCE"))
   6 - access("A"."PARTICIPANTID"="B"."PARTICIPANTID")
   8 - access("A"."ORDERSTATUS"="ORDERSTATUS")
  11 - access("SHORTDESC"='ORD_CANCEL' OR "SHORTDESC"='ORD_EXPIRE' OR "SHORTDESC"='ORD_FILLED' OR
              "SHORTDESC"='ORD_OPEN')
  12 - access("A"."ORDERID"="C"."ORDERID")
  13 - filter("LASTINSTREJECTCODE"='OK')
  15 - filter( (SELECT COUNT(*) FROM BILLING_TRD."TIBEX_ORDER" "C" WHERE "C"."ORDERID"=:B1 AND
              "C"."INSTRUMENTID"=:B2)=1)
  16 - access("A"."PARTICIPANTID"="B"."PARTICIPANTID" AND "ORDERSTATUS"="ORDERSTATUS")
  19 - access("SHORTDESC"='ORD_REJECT')
  24 - filter("C"."INSTRUMENTID"=:B1)
  25 - access("C"."ORDERID"=:B1)Regards
NM

Hi,
Thanks for your help and information.I got the error when i tried to execute your Query.Kindly have look.
tst_trd_owner@MIFEX3> SELECT  "ORDERID", "USERORDERID", "ORDERSIDE", "ORDERTYPE",
  2            ORDERSTATUS, BOARDID, TIMEINFORCE, INSTRUMENTID,
  3            REFERENCEID, PRICETYPE, PRICE, AVERAGEPRICE,
  4            QUANTITY, MINIMUMFILL, DISCLOSEDQTY, REMAINQTY,
  5            AON, PARTICIPANTID, ACCOUNTTYPE, ACCOUNTNO,
  6            CLEARINGAGENCY, LASTINSTRESULT, LASTINSTMESSAGESEQUENCE,
  7            LASTEXECUTIONID, NOTE, TIMESTAMP, QTYFILLED, MEID,
  8            LASTINSTREJECTCODE, LASTEXECPRICE, LASTEXECQTY,
  9            LASTINSTTYPE, LASTEXECUTIONCOUNTERPARTY, VISIBLEQTY,
10            STOPPRICE, LASTEXECCLEARINGAGENCY, LASTEXECACCOUNTNO,
11            LASTEXECCPCLEARINGAGENCY, MESSAGESEQUENCE,
12            LASTINSTUSERALIAS, BOOKTIMESTAMP, PARTICIPANTIDMM,
13            MARKETSTATE, PARTNEREXID, LastExecSETTLEMENTCYCLE,
14            LASTEXECPOSTTRADEVENUETYPE, PRICELEVELPOSITION,
15            PREVREFERENCEID, EXPIRYTIMESTAMP, matchType,
16            lastExecutionRole, MDEntryID, PegOffset,
17            haltReason, lastInstFixSequence, COMPARISONPRICE, b.qsid
18    FROM (
19              SELECT  "ORDERID", "USERORDERID", "ORDERSIDE", "ORDERTYPE",
20                    ORDERSTATUS, BOARDID, TIMEINFORCE, INSTRUMENTID,
21                    REFERENCEID, PRICETYPE, PRICE, AVERAGEPRICE,
22                    QUANTITY, MINIMUMFILL, DISCLOSEDQTY, REMAINQTY,
23                    AON, PARTICIPANTID, ACCOUNTTYPE, ACCOUNTNO,
24                    CLEARINGAGENCY, LASTINSTRESULT, LASTINSTMESSAGESEQUENCE,
25                    LASTEXECUTIONID, NOTE, TIMESTAMP, QTYFILLED, MEID,
26                    LASTINSTREJECTCODE, LASTEXECPRICE, LASTEXECQTY,
27                    LASTINSTTYPE, LASTEXECUTIONCOUNTERPARTY, VISIBLEQTY,
28                    STOPPRICE, LASTEXECCLEARINGAGENCY, LASTEXECACCOUNTNO,
29                    LASTEXECCPCLEARINGAGENCY, MESSAGESEQUENCE,
30                    LASTINSTUSERALIAS, BOOKTIMESTAMP, PARTICIPANTIDMM,
31                    MARKETSTATE, PARTNEREXID, LastExecSETTLEMENTCYCLE,
32                    LASTEXECPOSTTRADEVENUETYPE, PRICELEVELPOSITION,
33                    PREVREFERENCEID, EXPIRYTIMESTAMP, matchType,
34                    lastExecutionRole, MDEntryID, PegOffset,
35                    haltReason, lastInstFixSequence, COMPARISONPRICE
36               FROM (
37                       SELECT  "ORDERID", "USERORDERID", "ORDERSIDE", "ORDERTYPE",
38                                ORDERSTATUS, BOARDID, TIMEINFORCE, INSTRUMENTID,
39                                REFERENCEID, PRICETYPE, PRICE, AVERAGEPRICE,
40                                QUANTITY, MINIMUMFILL, DISCLOSEDQTY, REMAINQTY,
41                                AON, PARTICIPANTID, ACCOUNTTYPE, ACCOUNTNO,
42                                CLEARINGAGENCY, LASTINSTRESULT, LASTINSTMESSAGESEQUENCE,
43                                LASTEXECUTIONID, NOTE, TIMESTAMP, QTYFILLED, MEID,
44                                LASTINSTREJECTCODE, LASTEXECPRICE, LASTEXECQTY,
45                                LASTINSTTYPE, LASTEXECUTIONCOUNTERPARTY, VISIBLEQTY,
46                                STOPPRICE, LASTEXECCLEARINGAGENCY, LASTEXECACCOUNTNO,
47                                LASTEXECCPCLEARINGAGENCY, MESSAGESEQUENCE,
48                                LASTINSTUSERALIAS, BOOKTIMESTAMP, PARTICIPANTIDMM,
49                                MARKETSTATE, PARTNEREXID, LastExecSETTLEMENTCYCLE,
50                                LASTEXECPOSTTRADEVENUETYPE, PRICELEVELPOSITION,
51                                PREVREFERENCEID, EXPIRYTIMESTAMP, matchType,
52                                lastExecutionRole, MDEntryID, PegOffset,
53                                haltReason, lastInstFixSequence, COMPARISONPRICE,
54                                max(case when LastInstRejectCode = 'OK' then MessageSequence end) over (partition by OrderID) as maxseq
55                            FROM  tibex_Order
56                         )
57                WHERE MessageSequence = maxseq
58              ) A,  tibex_Participant b
59             WHERE a.participantID = b.participantID
60                AND a.OrderStatus IN (
61                                                 SELECT OrderStatus
62                                                   FROM  tibex_orderStatusEnum
63                                                 WHERE ShortDesc IN ('ORD_OPEN', 'ORD_EXPIRE', 'ORD_CANCEL', 'ORD_FILLED')
64                                               )
65    UNION ALL
66    SELECT  ORDERID, USERORDERID, ORDERSIDE, ORDERTYPE,
67            ORDERSTATUS, BOARDID, TIMEINFORCE, INSTRUMENTID,
68            REFERENCEID, PRICETYPE, PRICE, AVERAGEPRICE,
69            QUANTITY, MINIMUMFILL, DISCLOSEDQTY, REMAINQTY,
70            AON, PARTICIPANTID, ACCOUNTTYPE, ACCOUNTNO,
71            CLEARINGAGENCY, LASTINSTRESULT, LASTINSTMESSAGESEQUENCE,
72            LASTEXECUTIONID, NOTE, TIMESTAMP, QTYFILLED, MEID,
73            LASTINSTREJECTCODE, LASTEXECPRICE, LASTEXECQTY,
74            LASTINSTTYPE, LASTEXECUTIONCOUNTERPARTY, VISIBLEQTY,
75            STOPPRICE, LASTEXECCLEARINGAGENCY, LASTEXECACCOUNTNO,
76            LASTEXECCPCLEARINGAGENCY, MESSAGESEQUENCE,
77            LASTINSTUSERALIAS, BOOKTIMESTAMP, PARTICIPANTIDMM,
78            MARKETSTATE, PARTNEREXID, LastExecSETTLEMENTCYCLE,
79            LASTEXECPOSTTRADEVENUETYPE, PRICELEVELPOSITION,
80            PREVREFERENCEID, EXPIRYTIMESTAMP, matchType,
81            lastExecutionRole, MDEntryID, PegOffset,
82            haltReason, lastInstFixSequence, COMPARISONPRICE, qsid
83     FROM (
84               SELECT  ORDERID, USERORDERID, ORDERSIDE, ORDERTYPE,
85                       ORDERSTATUS, BOARDID, TIMEINFORCE, INSTRUMENTID,
86                       REFERENCEID, PRICETYPE, PRICE, AVERAGEPRICE,
87                       QUANTITY, MINIMUMFILL, DISCLOSEDQTY, REMAINQTY,
88                       AON, PARTICIPANTID, ACCOUNTTYPE, ACCOUNTNO,
89                       CLEARINGAGENCY, LASTINSTRESULT, LASTINSTMESSAGESEQUENCE,
90                       LASTEXECUTIONID, NOTE, TIMESTAMP, QTYFILLED, MEID,
91                       LASTINSTREJECTCODE, LASTEXECPRICE, LASTEXECQTY,
92                       LASTINSTTYPE, LASTEXECUTIONCOUNTERPARTY, VISIBLEQTY,
93                       STOPPRICE, LASTEXECCLEARINGAGENCY, LASTEXECACCOUNTNO,
94                       LASTEXECCPCLEARINGAGENCY, MESSAGESEQUENCE,
95                       LASTINSTUSERALIAS, BOOKTIMESTAMP, PARTICIPANTIDMM,
96                       MARKETSTATE, PARTNEREXID, LastExecSETTLEMENTCYCLE,
97                       LASTEXECPOSTTRADEVENUETYPE, PRICELEVELPOSITION,
98                       PREVREFERENCEID, EXPIRYTIMESTAMP, matchType,
99                       lastExecutionRole, MDEntryID, PegOffset,
100                       haltReason, lastInstFixSequence, COMPARISONPRICE
101                FROM (
102                          SELECT  ORDERID, USERORDERID, ORDERSIDE, ORDERTYPE,
103                                 ORDERSTATUS, BOARDID, TIMEINFORCE, INSTRUMENTID,
104                                 REFERENCEID, PRICETYPE, PRICE, AVERAGEPRICE,
105                                 QUANTITY, MINIMUMFILL, DISCLOSEDQTY, REMAINQTY,
106                                 AON, PARTICIPANTID, ACCOUNTTYPE, ACCOUNTNO,
107                                 CLEARINGAGENCY, LASTINSTRESULT, LASTINSTMESSAGESEQUENCE,
108                                 LASTEXECUTIONID, NOTE, TIMESTAMP, QTYFILLED, MEID,
109                                 LASTINSTREJECTCODE, LASTEXECPRICE, LASTEXECQTY,
110                                 LASTINSTTYPE, LASTEXECUTIONCOUNTERPARTY, VISIBLEQTY,
111                                 STOPPRICE, LASTEXECCLEARINGAGENCY, LASTEXECACCOUNTNO,
112                                 LASTEXECCPCLEARINGAGENCY, MESSAGESEQUENCE,
113                                 LASTINSTUSERALIAS, BOOKTIMESTAMP, PARTICIPANTIDMM,
114                                 MARKETSTATE, PARTNEREXID, LastExecSETTLEMENTCYCLE,
115                                 LASTEXECPOSTTRADEVENUETYPE, PRICELEVELPOSITION,
116                                 PREVREFERENCEID, EXPIRYTIMESTAMP, matchType,
117                                 lastExecutionRole, MDEntryID, PegOffset,
118                                 haltReason, lastInstFixSequence, COMPARISONPRICE,
119                                 count(*) over (partition by orderid, instrumentID) cnt
120                         FROM  tibex_Order
121                       )
122                 WHERE cnt = 1
123              ) A,  tibex_Participant b
124            WHERE a.participantID = b.participantID
125                AND orderstatus in (
126                                            SELECT  orderstatus
127                                               FROM  tibex_orderStatusEnum
128                                            WHERE ShortDesc = 'ORD_REJECT'
129                                          )
130  /
          LASTEXECUTIONID, NOTE, TIMESTAMP, QTYFILLED, MEID,
ERROR at line 7:
ORA-00918: column ambiguously defined

Similar Messages

  • Will there most likely be a new 13 inch macbook pro thats gonna come out soon?

    i will be getting a macbook for junior high, so im thinking of getting one in september but ive heard rumours about a new macbook pro 13 inch thats gonna come out somewhere around october so idk if i really should get it now or wait a while for like a upgraded mbp?

    Only Apple knows what Apple will or Will not do...
    Please avoid Speculation and Rumour...
    See item 5 Here  >  Community etiquette

  • Any news about the new droid phones that will come out for next year?

    so after my post about the EOL of phones for 2011, i was wondering if there were any phones that were coming out that would be as good as the Droid X. i liked the X bc it was big enough for me (im 6'2 and pretty big) and i liked how the OS was set up for customization of widgets and stuff.

    Yeah, Here is one phone you might like that's coming out in February. 
    The HTC Merge
    http://www.phonearena.com/news/HTC-Merge-emerged-in-its-full-glory-on-the-Verizon-site-taken-down-swiftly_id14777

  • Prepaid cell phone suggestion.... time that never runs out.

    when I pay for air time for the phone, it should not run out. if it takes me 2 months or 12 months to use up the time it should not matter. it's MY time, I paid for it. I should not have to spend more money to keep the phone running if it has time on it still.
    money is tight, I put 15 bucks a month on the phone only to keep it active... but never use all the time up each month. but im forced to add 15 bucks each month to prevent the phone from being shut off. this is not right in my view. if I buy airtime, I should be able to use it all before the phone is shut off. I paid for it.

    macgig2011 wrote:
    when I pay for air time for the phone, it should not run out. if it takes me 2 months or 12 months to use up the time it should not matter. it's MY time, I paid for it. I should not have to spend more money to keep the phone running if it has time on it still.
    money is tight, I put 15 bucks a month on the phone only to keep it active... but never use all the time up each month. but im forced to add 15 bucks each month to prevent the phone from being shut off. this is not right in my view. if I buy airtime, I should be able to use it all before the phone is shut off. I paid for it.
    I pay monthly to use 700 minutes, and I NEVER use that many. Why should I have to keep paying each month if I don't use the minutes? Shouldn't I be able to start paying my monthly bill again when I use up all my minutes?
    Sounds silly from someone else, doesn't it? Because it's a silly idea. You pay for a service, whether you prepay or postpay - it's the same service.

  • HT5624 Password Reset Email that Never Comes!

    I've requested several times to have a password reset email sent today, but it's been several hours and no email has come through. I've check my spam folder as well, but no luck. Is there anything else I can do?

    Why create a new ID in the first place.  You are aware that any media or content purchased/acquired with one ID is eternally tied to that ID, correct?

  • Never get out of loop

    With the below example, Im never getting to the "Out of loop message".It iterates through loop alrite but never comes out of it.
    Any ideas anyone?
    InputStreamReader isr = new InputStreamReader(is);
    BufferedReader br = new BufferedReader(isr);
    String line = null;
    while ((line = br.readLine()) != null) {
    System.out.println("In loop");
    System.out.println("Out of loop");

    I think it something to do with the fact that the readline method reads to a '/n' and the stream may not have this termination point.

  • Text in table comes out as bold or bolder when I email it???

    I have been very successful in writing and emailing my press
    releases. However...
    How I create then is via creating a table in Dreamweaver and
    putting everything there. The reason why I use a table is so that I
    can make sure that the content occupies 80% of the horizontal space
    and so I can center the content.
    I try to have the text come out as light, or normal looking.
    However, I have found that all the text that is in the table
    automatically comes out at bold (or bolder, depending on where the
    email is received and read). I have tried everything I can to
    change this so that it comes out as light, but have not had
    success.
    Can anyone explain why this is and give a solution?
    An example is this press release:
    http://www.manmeetswoman.com/newsletters/media/july2407_seattle.html
    It looks good online, when went the page is emailed, the text
    gets bold. I email it by pasting the source code into a program
    that then emails the press one at a time.
    Is there a way I am supposed to do this? A better way?
    Any help and insight is appreciated.
    Ron

    Email clients typically do *NOT* read CSS that is in the head
    of the page.
    You have CSS in the head of the page forcing text that would
    otherwise be
    bold, to be normal in weight.
    <title>The Art of Attraction Event in Seattle a
    success! Two more dates
    added!</title>
    <style type="text/css">
    <!--
    .style20 {font-weight: normal; font-style: normal;}
    .style21 {font-style: normal; font-weight: normal; font-size:
    medium;}
    .style24 {font-family: Arial, Helvetica, sans-serif}
    .style25 {font-weight: normal; font-style: normal;
    font-family: Arial,
    Helvetica, sans-serif; }
    .style27 {font-weight: normal; font-style: normal; font-size:
    18px; }
    -->
    </style>
    The text would be bold because you have placed it into a
    <th> rather than a
    <td> in your table -
    <th scope="col"><div align="left"
    class="style24">
    <p align="center" class="style20 "><img
    src="
    http://www.manmeetswoman.com/newsletters/media/mmw_(screen).jpg"
    alt="Man Meets Woman in Seattle! www.manmeetswoman.com"
    width="800"
    height="235" /><br />
    <br />
    - For Immediate Release -</p>
    <p align="center" class="style27">The Art of
    Attraction Event in
    Seattle a success! Two more dates added!</p>
    <p align="left" class="style21">Seattle, WA, July
    24th, 2007 &ndash;
    The recent Art of Attraction event held in Seattle
    Solve the problem by clicking in the cell in DW, and
    converting your <th> to
    <td> by unchecking the "header" box on the property
    inspector.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "audio90" <[email protected]> wrote in
    message
    news:[email protected]...
    >I have been very successful in writing and emailing my
    press releases.
    > However...
    >
    > How I create then is via creating a table in Dreamweaver
    and putting
    > everything there. The reason why I use a table is so
    that I can make sure
    > that
    > the content occupies 80% of the horizontal space and so
    I can center the
    > content.
    >
    > I try to have the text come out as light, or normal
    looking. However, I
    > have
    > found that all the text that is in the table
    automatically comes out at
    > bold
    > (or bolder, depending on where the email is received and
    read). I have
    > tried
    > everything I can to change this so that it comes out as
    light, but have
    > not had
    > success.
    >
    > Can anyone explain why this is and give a solution?
    >
    > An example is this press release:
    >
    http://www.manmeetswoman.com/newsletters/media/july2407_seattle.html
    >
    > It looks good online, when went the page is emailed, the
    text gets bold. I
    > email it by pasting the source code into a program that
    then emails the
    > press
    > one at a time.
    >
    > Is there a way I am supposed to do this? A better way?
    >
    > Any help and insight is appreciated.
    >
    > Ron
    >

  • TS2634 I bought a ipad back in December and the ear buds never worked.  The sound doesnt come out of what you put in your ear but comes out of the little hole on the outside of the ear buds.  Is this supposed to be this way?

    The earbuds that came with my ipad have never worked.  They have sound that comes out of the outside hole of the earbuds.  When you put them in your ears no sound can be heard.  Has this been a problem or did mine just come broken?

    I have the same problem and it has just started in the last day or so...
    Got the phone late July and then in the last day, everytime I plug into PC or take a photo,  I get the same "Disk Error / Retry message"
    What is interesting is that I always had the Photo Storage location as the Memory Card (detachable).   Seems odd that sometime in the last month or so the phone decided to change my setting to the Mass Memory. Might have been an firmware update that I have done in the past but not sure.
    Changing the Photo Storage Location back to the Memory Card has stopped the error coming up everytime a Photo wastaken, but the message continues when I plug in the phone to the PC.
    Phone was just updated to latest firmware this morning and that has not helped, although during the back-up process I could not save some files from the Mass Memory.
    I wonder if Optus will shout a new phone because their technicians are useless with past experiences and to be honest the N97 really promises so much but offers very little compared to all of my last Nokia's.

  • How can I make the flash of fire that comes out of a gun when it's shot?

    Hello, everyone. I have Motion 2.1.2 and am a MAJOR neophyte at it. One can even say that for all practical purposes, I've never used it. Therefore, keep this in mind when helping me. I know nothing.
    Is there a way to use Motion to make the quick flash of fire that comes out of a gun when it's shot?
    Simple enough question, I guess, and I imagine it's not all too difficult to do . . . but, alas, I know not how to do it. Perhaps some helpful folks on here can let me know how.
    Thank you much in advance.
    Javier Calderon

    try here for filmed stuff you can layer on or google muzzle flash.
    http://detonationfilms.com/free_stuff.htm
    o| TOnyTOny |o

  • GIF comes out strangely pixelated with noise, never seen this before!

    Everytime I export my animated GIF in flash it comes out in this weird pixelated way. Instead of everything being normally pixelated where they are just not as sharp, they come out with what looks like noise speckles all over them. The kind of noise that is not monochromatic. I have no Idea what this is or how to fix it and I have a client waiting for his web banner. I thought at first it was because I was using imported PNG's to make the GIF, but then I tried just making it in flash and it is still happening. I have played with every publish setting offered and I cannot make it clear, please help me!

    Why do you want to change it to a png for placement? Just place it as the original .ai eps file you got. You never want to use a jpg, png or gif in a document that's going to be printed. The minute you change it to a png or jpg you're going to lose resolution. That's why it's pixelated

  • HT1657 i just like to know if i right to my refound the movie i rent ,also bcause took long time to downloding ,so i never watch the movie and the charge come out of my account

    I just like to know if i rigth to my refund the movie i rent, also because took to long time to downloding, so i never watch the movie and charge come out of my account

    No. Netflix is solely a streaming service and does not provide downloads. If you want downloaded movies, buy or rent from the iTunes Store. Note that in some cases people have found that rented movies still require connection to the ITunes Store to play, for reasons I have yet to figure out, so purchases are safer.
    Regards.

  • I had to cancel a payment that kept coming out my bank, I had no idea what it was for as it was monthly and I never signed up to anything, now my Apple ID is disabled, how can I unlock this?

    I had to cancel a payment that kept coming out my bank, I had no idea what it was for as it was monthly and I never signed up to anything, now my Apple ID is disabled, how can I unlock this?

    If your account is disabled then you might be able to re-enable it via this page : http://appleid.apple.com, then 'reset your password'
    You might then need to log out of your account on your iPad by tapping on your id in Settings > iTunes & App Store (Settings > Store on iOS 5 and below) and then log back in so as to 'refresh' the account on it
    If that doesn't fix it then you might need to contact iTunes Support : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page
    For the auto-renewing subscription, there are instructions on this page for managing and stopping them : http://support.apple.com/kb/HT4098

  • Technician never showed up, never called & now can't come out for 3 more days???

    Yesterday afternoon I lost my TV, phone and internet service (X1 Platform). There were no outages in the area so customer service was called. After spending 45 minutes on the phone going through all the troubleshooting, the rep said a tech would have to come out. She said they could come out the next day, gave us our choice of times and we picked 8:30am-12:30pm. She said the tech would call 30 minutes before he showed up. Today the tech never calls, never shows and my husband stayed home all morning for this. He called customer service and they told him we didn't have an appointment scheduled. I called and was told the same thing and then the rep said in order to make another appointment we would have to do the troubleshooting again. I told her there was no way that was happening. She said she could see that troubleshooting had already been done, but for some reason the last rep never made an appointment for the tech to come out. I asked her if that made any sense at all, that they would just leave the issue unresolved like that. Magically, she suddenly found where the last rep had requested that a truck come out, but she still couldn't find the date and time. Then she tried to find the tech, but she couldn't - apparently he disappeared into a black hole. The rep then tells me I have to set up a new appointment (which she can now suddenly do without troubleshooting) and the earliest available is Sunday from 5-7.  Are you kidding me??? Because either customer service at Comcast or the tech screwed up, my time without service went from 1 day to 4 days??? She said she would make the appointment and then transfer me to a supervisor because only a supervisor is able to change the appointment date. At this point, I've been on the phone for 45 minutes and then I spent an additional 15 minutes waiting for a supervisor. The rep did come back every few minutes and tell me that the line was still busy and she hadn't forgotten about me...until the point where she disconnected me. I know very well that she had my phone number to call back because it's on my account.  Did she? No. So, I called back again. Explained the entire situation to a different rep. She said that a supervisor can't change the appointment time - only a dispatcher can. She took my husband's number and said that a dispatcher would call if a time becomes available for a tech to come out. If none becomes available, we're out of luck until Sunday night. I asked to talk to a supervisor. She had the nerve to ask why. She transferred me to someone who, of course, didn't answer the phone and I got to leave a voice message. That person (whoever it was) hasn't called me back. I don't think it's too much to ask that, when the mistake is Comcast's, you do whatever you can to make it right. It's not as if the tech showed up and nobody was home. My husband sat there for 4 hours waiting. We have also spent a good portion of our day on the phone trying to get someone to come out today or tomorrow at the latest. If I switched to a different company, they would be able to come out before Sunday to install new service, but you can't be bothered to make things right for an existing customer when you screw up.

    Fun update (no, not really). Called back numerous times since my last post with no luck. I'm pretty sure I've talked to every department conceivable at least once to try to get someone at Comcast to live up to the term "customer service" and get someone out to my house ASAP since they were a no-show today. One of the more entertaining conversations was with a supposed supervisor who informed me that she looked at my account and could see where I talked to a rep yesterday about my phone service being out and they had me check for a dial tone. I told her that absolutely never happened - we only tried troubleshooting the error code on the TV. This model employee proceeded to argue with me and kept repeating that we had checked for a dial tone. She refused to stop talking when I tried to correct her and proceeded to talk non-stop for a full minute before I pretty much screamed into the phone that, while we have the phone service, we don't use it, and we don't even have a phone hooked up in the house, so how in the world could we possibly have checked for a dial tone??? If someone isn't out tomorrow to fix this, I'm switching to U-verse. Nobody should be have to deal with customer service that doesn't care about the customer and can't admit to or fix their mistakes. 

  • The unlocked IPhone 4S models will not be available until November, Why is that? Why would Apple do that? I should be able to buy a factory unlocked Apple iPhone 4S when it comes out! Why is my interests being put last and Sprint, Verizon

    The unlocked IPhone 4S models will not be available until November, Why is that? Why would Apple do that? I should be able to buy a factory unlocked Apple iPhone 4S when it comes out! I travel all over the world, and so that is why I need one like that. It is unfair to the consumer, and frankly turning away customers like myself willing to pay high dollar to Apple for their product, who can I speak with to complain about this, because I know their are factory unlocked iPhone 4S' sitting in a warehouse somewhere just waiting to be shipped, and I want one.  I know why, cause Apple signed contracts with each carrier so the carrier could increase their sales making customers sign 2 year contracts, I get it, I own my own business, but the delay of releasing factory unlocked ones is just not right and I should be able to buy one without having to buy it over in the UK where it is unlocked when it comes out right away, I should be able to buy it in my own country!  These business practices we practice in the US need to stop, their is a demand that needs to be met with consumers like myself who don't need subsidized iPhone's with 2 year contracts with carriers and don't mine paying full price for an unlocked one, it is unethical in a sense, forcing the customer to buy it with a carrier contract and NOT giving the customer the option to buy it full price and own it themselves, OR, making the consumer wait a month for that option to be available.  THEY SHOULD BE RELEASED AT THE SAME TIME!!!!!!  THAT IS THE RIGHT THING TO DO!!!!!!
    Apple can contact me and I will proudly pay for one.  But making me wait a month for an unlocked one, puts AT&T, Sprint & Verizon's interests before mine, and that is not right, for it is MY money that keeps you guys in business, so my best interests should come first!!!!!!!!!!!!!!!!!!!

    I understand your frustration, but when any form of rationing is required you have to prioritise. The number of unlocked vs packaged phones will be quite small and the number of unlocked buyers wishing to upgrade immediately will be smaller still. Against this you have the corporations sharing $billions between them.
    It would, you're correct, have been fairer to release all at the same time, but fairer doesn't come into it: it's business.

  • I purchased an iPad mini on October 10th.  I want to return it and get the new ipad mini retina when it comes out.  How do I do that if the new ipad mini release date isn't until "later in November", which is beyond the 14 days from my purchase date?

    I purchased an iPad mini on October 10th.  I want to return it and get the new ipad mini retina when it comes out. I am currently still within the 14 day return/exchange window but how can I exchange it if the new ipad mini release date isn't until "later in November", which would be beyond the 14 days from my purchase date?  If apple announces a new version of a product you just purchased but won't actually release it for more than 14 days, how can you possibly exchange the one you just bought?  Is my only option to return the one I bought on the 10th (so return by 10/24) and then not have an iPad until the new one is available for purchase?  Or would it make any sense to return the one I bought, get a new one, which would presumably have another 14 day return window, and then exchange THAT one for the new ipad mini w/ retina when it comes out (hopefully within that second 14 day window)?

    Call the apple store you got it from and ask them. Sometimes in the past they've extended the 'no questions asked return' but only Apple can tell you for sure.

Maybe you are looking for

  • AD Import using Custom Attributes?

    by default when you run AD import in UC, it fetched whole AD domain accounts which contains service accounts and a lot other stuff which one don't want to import. So choice is to search using a particular Base DN which query only one OU. But this sim

  • Converting from finished products non-batch to batch management

    Hi guys, Can you tell what is the best strategy to convert a system from non-batch managed to batch managed for the finished and salable product? Batch management should have been implemented from the start, but my client just realized that mistake.

  • Exportpdf formats - excel, csv or txt

    How do I use exportpdf online to export to excel, csv or txt?

  • Audiobooks willnot play after updating to 8.1

    After last update to 8.1.3  my IPod touch audiobooks will display then automatically go back one screen. If I click on playlist full of audiobooks it scrolls through all then goes back to list screen.

  • Another question about listbox

    I designed a process in workbench which gets all information about customer and  fills in rows which is under the table but I want to list them as a list in listbox or row by row it doesnt matter . The problem is I have no idea to do ? can you give s