Help for i-tunes

Hi all:
I'm new to the world of i-tunes.  I just bought a $14 i-tune album, and it won't work
on my MP3 player because, as it turns out, the songs are in MPEG4 format?
Can I solve this somehow?  Or can I get a refund from i-tunes to get my money back?
Thanks for your help!

Click here for information.
(61900)

Similar Messages

  • Need help for performance tunning

    Hello,
    I have 16K records return by query, it takes long time to proceed for 7K it takes 7.5 sec.
    Note: I used all seeded tables only.
    If possible please help me to tune it.
    SELECT       msi.inventory_item_id,msi.segment1,msi.rimary_uom_code , msi.primary_unit_of_measure
    FROM  mtl_system_items_b msi, qp_list_lines qpll,qp_pricing_attributes qppr,
              mtl_category_sets_tl mcs,mtl_category_sets_b mcsb,
              mtl_categories_b mc, mtl_item_categories mcb
    WHERE     msi.enabled_flag = 'Y'
         AND qpll.list_line_id = qppr.list_line_id
         AND qppr.product_attr_value = TO_CHAR (msi.inventory_item_id(+))
         AND qppr.product_uom_code = msi.primary_uom_code
         AND mc.category_id = mcb.category_id
         AND msi.inventory_item_id = mcb.inventory_item_id
         AND msi.organization_id = mcb.organization_id
         AND TRUNC (SYSDATE) BETWEEN NVL (qpll.start_date_active,TRUNC (SYSDATE)) AND NVL (qpll.end_date_active,TRUNC (SYSDATE))
         AND mcs.category_set_name = 'LSS SALES CATEGORY'
         AND mcs.language = 'US'
         AND mcs.category_set_id = mcsb.category_set_id
         AND mcsb.structure_id = mc.structure_id
         AND msi.organization_id = :p_organization_id
         AND qpll.list_header_id = :p_price_list_id
         AND mcb.category_id = :p_category_id;
    Thanks and regards
    Akil.

    Thanks Helios ,
    here is answers
    Databse version
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit  
    PL/SQL Release 11.1.0.7.0
    explain plan
    | Id  | Operation                       | Name                     | Rows  | Bytes | Cost (%CPU)|

    0 | SELECT STATEMENT              
    |                          |   
    1 |   149 |  9439 
    (1)|

    1 |  NESTED LOOPS                   |                          |     1 | 
    149 |  9439   (1)|
    |*
    2 |   HASH JOIN OUTER               |                          |     1 | 
    135 |  9437   (1)|
    |*
    3 |    HASH JOIN                    |                          |     1 |  
    71 |  9432   (1)|

    4 |     NESTED LOOPS                |                          |     2 |  
    76 |    53   (0)|
    |*
    5 |      TABLE ACCESS BY INDEX
    ROWID| QP_LIST_LINES            |     2 |  
    44 |    49   (0)|
    |*
    6 |       INDEX SKIP SCAN           | QP_LIST_LINES_N2         | 
    702 |       |    20 
    (0)|
    |*
    7 |      INDEX RANGE SCAN           | QP_PRICING_ATTRIBUTES_N3 |     1 |  
    16 |     2   (0)|
    |*
    8 |     TABLE ACCESS BY INDEX
    ROWID | MTL_SYSTEM_ITEMS_B       | 46254
    |  1490K|
    9378   (1)|
    |*
    9 |      INDEX RANGE SCAN           | MTL_SYSTEM_ITEMS_B_N9    | 46254 |       | 
    174   (1)|
    |
    10 |    TABLE ACCESS FULL            | XX_WEB_ITEM_IMAGE_TBL    | 
    277 | 17728 |     5   (0)|
    |* 11 |   INDEX RANGE SCAN              | MTL_ITEM_CATEGORIES_U1   |   
    1 |    14 |     2 
    (0)|
    Predicate Information (identified
    by operation id):
    2 -
    access("XWIIT"."IMAGE_CODE"(+)="MSI"."SEGMENT1")
    3 -
    access("QPPR"."PRODUCT_ATTR_VALUE"=TO_CHAR("MSI"."INVENTORY_ITEM_ID")
    AND
    "QPPR"."PRODUCT_UOM_CODE"="MSI"."PRIMARY_UOM_CODE")
    5 - filter(NVL("QPLL"."START_DATE_ACTIVE",TRUNC(SYSDATE@!))<=TRUNC(SYSDATE@!)
    AND
    NVL("QPLL"."END_DATE_ACTIVE",TRUNC(SYSDATE@!))>=TRUNC(SYSDATE@!))
    6 -
    access("QPLL"."LIST_HEADER_ID"=TO_NUMBER(:P_PRICE_LIST_ID))
    filter("QPLL"."LIST_HEADER_ID"=TO_NUMBER(:P_PRICE_LIST_ID))
    7 -
    access("QPLL"."LIST_LINE_ID"="QPPR"."LIST_LINE_ID")
    filter("QPPR"."PRODUCT_UOM_CODE" IS NOT NULL)
    8 - filter("MSI"."ENABLED_FLAG"='Y')
    9 - access("MSI"."ORGANIZATION_ID"=TO_NUMBER(:P_ORGANIZATION_ID))
    11 -
    access("MCB"."ORGANIZATION_ID"=TO_NUMBER(:P_ORGANIZATION_ID)
    AND
    "MSI"."INVENTORY_ITEM_ID"="MCB"."INVENTORY_ITEM_ID"
    AND
    "MCB"."CATEGORY_ID"=TO_NUMBER(:P_CATEGORY_ID))
           filter("MCB"."CATEGORY_ID"=TO_NUMBER(:P_CATEGORY_ID))
    Note
    - 'PLAN_TABLE' is old version
    TKprof Plan
    TKPROF: Release 11.1.0.7.0 - Production on Fri Nov 15 06:12:26 2013
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    Trace file: LSSD_ora_19760.trc
    Sort options: default
    count    = number of times OCI procedure was executed
    cpu      = cpu time in seconds executing
    elapsed  = elapsed time in seconds executing
    disk     = number of physical reads of buffers from disk
    query    = number of buffers gotten for consistent read
    current  = number of buffers gotten in current mode (usually for update)
    rows     = number of rows processed by the fetch or execute call
    SELECT msi.inventory_item_id,
           msi.segment1,
           primary_uom_code,
           primary_unit_of_measure,
           xwiit.image_url
      FROM mtl_system_items_b msi,
           qp_list_lines qpll,
           qp_pricing_attributes qppr,
           mtl_item_categories mcb,
           xx_web_item_image_tbl xwiit
    WHERE     msi.enabled_flag = 'Y'
           AND qpll.list_line_id = qppr.list_line_id
           AND qppr.product_attr_value = TO_CHAR (msi.inventory_item_id)
           AND qppr.product_uom_code = msi.primary_uom_code
           AND msi.inventory_item_id = mcb.inventory_item_id
           AND msi.organization_id = mcb.organization_id
           AND TRUNC (SYSDATE) BETWEEN NVL (qpll.start_date_active,
                                            TRUNC (SYSDATE))
                                   AND NVL (qpll.end_date_active,
                                            TRUNC (SYSDATE))
           AND xwiit.image_code(+) = msi.segment1
           AND msi.organization_id = :p_organization_id
           AND qpll.list_header_id = :p_price_list_id
           AND mcb.category_id = :p_category_id
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        2      0.00       0.00          0          0          0           0
    Execute      2      0.00       0.00          0          0          0           0
    Fetch        2      3.84       3.85          0     432560          0        1002
    total        6      3.84       3.85          0     432560          0        1002
    Misses in library cache during parse: 0
    Optimizer mode: ALL_ROWS
    Parsing user id: 173 
    Rows     Row Source Operation
        501  NESTED LOOPS  (cr=216280 pr=0 pw=0 time=115 us cost=9439 size=149 card=1)
       2616   HASH JOIN OUTER (cr=211012 pr=0 pw=0 time=39 us cost=9437 size=135 card=1)
      78568    HASH JOIN  (cr=210997 pr=0 pw=0 time=3786 us cost=9432 size=71 card=1)
      78571     NESTED LOOPS  (cr=29229 pr=0 pw=0 time=35533 us cost=53 size=76 card=2)
      78571      TABLE ACCESS BY INDEX ROWID QP_LIST_LINES (cr=9943 pr=0 pw=0 time=27533 us cost=49 size=44 card=2)
    226733       INDEX SKIP SCAN QP_LIST_LINES_N2 (cr=865 pr=0 pw=0 time=4122 us cost=20 size=0 card=702)(object id 99730)
      78571      INDEX RANGE SCAN QP_PRICING_ATTRIBUTES_N3 (cr=19286 pr=0 pw=0 time=0 us cost=2 size=16 card=1)(object id 99733)
    128857     TABLE ACCESS BY INDEX ROWID MTL_SYSTEM_ITEMS_B (cr=181768 pr=0 pw=0 time=9580 us cost=9378 size=1526382 card=46254)
    128857      INDEX RANGE SCAN MTL_SYSTEM_ITEMS_B_N9 (cr=450 pr=0 pw=0 time=1657 us cost=174 size=0 card=46254)(object id 199728)
        277    TABLE ACCESS FULL XX_WEB_ITEM_IMAGE_TBL (cr=15 pr=0 pw=0 time=22 us cost=5 size=17728 card=277)
        501   INDEX RANGE SCAN MTL_ITEM_CATEGORIES_U1 (cr=5268 pr=0 pw=0 time=0 us cost=2 size=14 card=1)(object id 99557)
    Note: I modified query and it gives good result, now it takes 3 to 4 sec for 16000 records.
    If possible can you plz explain what we have to take care while doing performance tunning
    I am a fresher so don't have that much idea.
    and also Thanks Hussein for your replay

  • Help for performance tunning

    Hi Gurus,
    I m new to the group and SAP BW as well,so i need ur valuable inputs for a Performance related Project.
    I m going to start  a new project in a wks time so and i m working as a Performance Tuning Consultant on that(Load & Query Performance),but i don't have any idea about this,so i need ur valuable advice on that,plz.
    Can anyone plz suggest me the possible ways of suggestions so that i can tell the client as a gud consultant to start with but these days i m going though BW Performance & Authorization(BW360) which is really helpful for me but apart from that i need ur valuable inputs as well.
    Thanks in Advance.
    regards
    Amit

    hi Amit,
    check this.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/afbad390-0201-0010-daa4-9ef0168d41b6
    also
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/10b589ad-0701-0010-0299-e5c282b7aaad
    regards.

  • Help for Rewrite/tune the quey

    Hi,
    Could you please help to rewrite or tune the below query.
    database
    Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bitQuery
    SELECT *
    FROM
      (SELECT q.*,
        ROWNUM          AS rowindex,
        COUNT(*) OVER() AS record_count
      FROM
        (SELECT get_cand_session_number(ccr.split_session_year,ccr.split_session_month,ccr.candidate) AS candidate_session_number,
          ca.candidate,
          ca.lastname,
          ca.firstname,
          (SELECT csl.status_type
          FROM ibis.cw_status_lookup csl
          WHERE csl.status_id = ccp.status_id
          ) AS status,
          ccp.candidate_portfolio_id
        FROM ibis.candidate_component_reg ccr
        INNER JOIN
          (SELECT self_taught,
            YEAR,
            MONTH,
            main_school,
            candidate,
            subject,
            subject_option,
            lvl,
            language,
            withdrawn,
            programme
          FROM ibis.candidate_subject_registration
          ) csr
        ON csr.year           = :v_year
        AND csr.month         =:v_month
        AND csr.main_school   =ccr.main_school
        AND csr.candidate     =ccr.candidate
        AND csr.subject       =ccr.subject
        AND csr.subject_option=ccr.subject_option
        AND csr.lvl           = ccr.lvl
        AND csr.language      =ccr.language
        AND csr.withdrawn     ='N'
        INNER JOIN
          (SELECT YEAR,
            MONTH,
            candidate,
            programme,
            exam_seq_num
          FROM ibis.candidate_session_detail
          ) csd
        ON csd.year          = :v_year
        AND csd.month        = :v_month
        AND csd.candidate    = csr.candidate
        AND csd.programme    = ccr.programme
        AND csd.exam_seq_num = NVL(NULL,csd.exam_seq_num)
        INNER JOIN
          (SELECT candidate,lastname,firstname FROM ibis.candidate
          ) ca
        ON ca.candidate=csd.candidate
        INNER JOIN
          (SELECT status_id,
            candidate_portfolio_id,
            YEAR,
            MONTH,
            paper_code,
            candidate
          FROM ibis.cw_candidate_portfolio
          ) ccp
        ON ccp.year                  = :v_year
        AND ccp.month                = :v_month
        AND ccp.paper_code           = ccr.paper_code
        AND ccp.candidate            = ccr.candidate
        WHERE ccr.split_session_year = :v_year
        AND ccr.split_session_month  = :v_month
        AND ccr.component            = :v_component
        AND ccr.withdrawn            ='N'
        AND ccr.assessment_school    =NVL(:v_school_code,ccr.assessment_school)
        AND ccr.subject              = NVL(:v_subject,ccr.subject)
        AND ccr.subject_option       = NVL(:v_subject_option,ccr.subject_option)
        AND ccr.lvl                  = NVL(:v_lvl,ccr.lvl)
        AND ccr.language             = NVL(:v_language,ccr.language)
        AND ((csr.self_taught        ='N'
        AND ccr.sampled              ='Y'
        AND ccr.deleted_from_sample  ='N'
        AND EXISTS
          (SELECT 1
          FROM ibis.subject_component sc
          WHERE sc.year               = ccr.split_session_year
          AND sc.month                = ccr.split_session_month
          AND ccr.paper_code          =sc.paper_code
          AND sc.subject              = ccr.subject
          AND sc.subject_option       =ccr.subject_option
          AND sc.lvl                  = ccr.lvl
          AND sc.language             =ccr.language
          AND sc.component            =ccr.component
          AND sc.assessment_method_id = 11
          AND sc.assessment_type      = 'INTERNAL'
        AND NOT EXISTS
          (SELECT 1
          FROM ibis.cw_portfolio_template cpt
          WHERE ccr.split_session_year = cpt.year
          AND ccr.split_session_month  = cpt.month
          AND ccr.subject              = cpt.subject
          AND ccr.subject_option       = cpt.subject_option
          AND ccr.component            = cpt.component
          AND cpt.combined             = 'Y'
        OR (csr.self_taught='Y'
        AND EXISTS
          (SELECT 1
          FROM ibis.subject_component sc
          WHERE sc.year               = ccr.split_session_year
          AND sc.month                = ccr.split_session_month
          AND ccr.paper_code          =sc.paper_code
          AND sc.subject              = ccr.subject
          AND sc.subject_option       =ccr.subject_option
          AND sc.lvl                  = ccr.lvl
          AND sc.language             =ccr.language
          AND sc.component            =ccr.component
          AND sc.assessment_method_id = 11
          AND sc.assessment_type      = 'INTERNAL'
        AND NOT EXISTS
          (SELECT 1
          FROM ibis.cw_portfolio_template cpt
          WHERE ccr.split_session_year = cpt.year
          AND ccr.split_session_month  = cpt.month
          AND ccr.subject              = cpt.subject
          AND ccr.subject_option       = cpt.subject_option
          AND ccr.component            = cpt.component
          AND cpt.combined             = 'Y'
        OR (EXISTS
          (SELECT 1
          FROM ibis.cw_portfolio_template cpt
          WHERE ccr.split_session_year = cpt.year
          AND ccr.split_session_month  = cpt.month
          AND ccr.subject              = cpt.subject
          AND ccr.subject_option       = cpt.subject_option
          AND ccr.component            = cpt.component
          AND cpt.combined             = 'Y'
        AND EXISTS
          (SELECT 1
          FROM ibis.subject_component sc
          WHERE sc.year               = ccr.split_session_year
          AND sc.month                = ccr.split_session_month
          AND ccr.paper_code          =sc.paper_code
          AND sc.subject              = ccr.subject
          AND sc.subject_option       =ccr.subject_option
          AND sc.lvl                  = ccr.lvl
          AND sc.language             =ccr.language
          AND sc.component            =ccr.component
          AND sc.assessment_method_id = 11
        UNION
        SELECT get_cand_session_number(ssm.year,ssm.month,ccr.candidate) AS candidate_session_number,
          ca.candidate,
          ca.lastname,
          ca.firstname,
          (SELECT csl.status_type
          FROM ibis.cw_status_lookup csl
          WHERE csl.status_id = ccp.status_id
          ) AS status,
          ccp.candidate_portfolio_id
        FROM ibis.school_sample_mark_additional ssm,
          ibis.candidate_component_reg ccr,
          ibis.candidate ca,
          ibis.candidate_session_detail csd,
          ibis.cw_candidate_portfolio ccp
        WHERE ssm.year              = :v_year
        AND ssm.month               = :v_month
        AND ssm.candidate          IS NOT NULL
        AND ssm.year                = ccr.split_session_year
        AND ssm.month               =ccr.split_session_month
        AND ccr.assessment_school   =ssm.school_code
        AND ssm.candidate           =ccr.candidate
        AND ssm.paper_code          = ccr.paper_code
        AND ccr.component           = :v_component
        AND ccr.split_session_year  = csd.year
        AND ccr.split_session_month = csd.month
        AND ccr.candidate           =csd.candidate
        AND ccr.programme           = csd.programme
        AND csd.candidate           =ca.candidate
        AND ccr.split_session_year  = ccp.year
        AND ccr.split_session_month = ccp.month
        AND ccr.paper_code          =ccp.paper_code
        AND ccr.candidate           = ccp.candidate
        AND ssm.school_code         = NVL(:v_school_code,ssm.school_code)
        AND ccr.subject             = NVL(:v_subject,ccr.subject)
        AND ccr.subject_option      = NVL(:v_subject_option,ccr.subject_option)
        AND ccr.lvl                 = NVL(:v_lvl,ccr.lvl)
        AND ccr.language            = NVL(:v_language,ccr.language)
        AND csd.exam_seq_num        = NVL(:v_candidate,csd.exam_seq_num)
        )q
      ) sq
    WHERE ROWINDEX >=:v_startrow
    AND ROWINDEX   <= (:v_startrow + (:v_maxrows - 1) );explain plan
    | Id  | Operation                                  | Name                           | Rows  | Bytes | Cost (%CPU)| Time     |                                                                                                                                                                               
    |   0 | SELECT STATEMENT                           |                                |     4 |  8708 |   363   (1)| 00:00:06 |                                                                                                                                                                               
    |*  1 |  FILTER                                    |                                |       |       |            |          |                                                                                                                                                                               
    |*  2 |   VIEW                                     |                                |     4 |  8708 |   363   (1)| 00:00:06 |                                                                                                                                                                               
    |   3 |    WINDOW BUFFER                           |                                |     4 |  8604 |   363   (1)| 00:00:06 |                                                                                                                                                                               
    |   4 |     COUNT                                  |                                |       |       |            |          |                                                                                                                                                                               
    |   5 |      VIEW                                  |                                |     4 |  8604 |   363   (1)| 00:00:06 |                                                                                                                                                                               
    |   6 |       SORT UNIQUE                          |                                |     4 |  1016 |   363  (14)| 00:00:06 |                                                                                                                                                                               
    |   7 |        UNION-ALL                           |                                |       |       |            |          |                                                                                                                                                                               
    |   8 |         CONCATENATION                      |                                |       |       |            |          |                                                                                                                                                                               
    |*  9 |          FILTER                            |                                |       |       |            |          |                                                                                                                                                                               
    |* 10 |           FILTER                           |                                |       |       |            |          |                                                                                                                                                                               
    |  11 |            TABLE ACCESS BY INDEX ROWID     | CW_CANDIDATE_PORTFOLIO         |     1 |    44 |     3   (0)| 00:00:01 |                                                                                                                                                                               
    |  12 |             NESTED LOOPS                   |                                |     1 |   270 |   299   (1)| 00:00:05 |                                                                                                                                                                               
    |  13 |              NESTED LOOPS                  |                                |     1 |   226 |   296   (1)| 00:00:05 |                                                                                                                                                                               
    |  14 |               NESTED LOOPS                 |                                |     1 |   200 |   294   (1)| 00:00:05 |                                                                                                                                                                               
    |  15 |                NESTED LOOPS                |                                |    35 |  3080 |   190   (1)| 00:00:03 |                                                                                                                                                                               
    |  16 |                 TABLE ACCESS BY INDEX ROWID| CANDIDATE_SESSION_DETAIL       |    35 |   980 |    92   (2)| 00:00:02 |                                                                                                                                                                               
    |* 17 |                  INDEX RANGE SCAN          | SESSION_SCHL_CAND              |    35 |       |    77   (2)| 00:00:02 |                                                                                                                                                                               
    |* 18 |                 TABLE ACCESS BY INDEX ROWID| CANDIDATE_SUBJECT_REGISTRATION |     1 |    60 |     3   (0)| 00:00:01 |                                                                                                                                                                               
    |* 19 |                  INDEX RANGE SCAN          | Y_M_CAND_SUBJ_LVL_OPTION       |     1 |       |     2   (0)| 00:00:01 |                                                                                                                                                                               
    |* 20 |                TABLE ACCESS BY INDEX ROWID | CANDIDATE_COMPONENT_REG        |     1 |   112 |     3   (0)| 00:00:01 |                                                                                                                                                                               
    |* 21 |                 INDEX RANGE SCAN           | SPLIT_SESSION_CANDIDATE        |     1 |       |     2   (0)| 00:00:01 |                                                                                                                                                                               
    |  22 |               TABLE ACCESS BY INDEX ROWID  | CANDIDATE                      |     1 |    26 |     2   (0)| 00:00:01 |                                                                                                                                                                               
    |* 23 |                INDEX UNIQUE SCAN           | CANDIDATE_PK                   |     1 |       |     1   (0)| 00:00:01 |                                                                                                                                                                               
    |* 24 |              INDEX RANGE SCAN              | CANDIDATE_PORTFOLIO_INDEX1     |     1 |       |     2   (0)| 00:00:01 |                                                                                                                                                                               
    |* 25 |           TABLE ACCESS BY INDEX ROWID      | CW_PORTFOLIO_TEMPLATE          |     1 |    46 |     4   (0)| 00:00:01 |                                                                                                                                                                               
    |* 26 |            INDEX RANGE SCAN                | YEAR_MON_PORTFOLIO_TEMPLATE    |     1 |       |     3   (0)| 00:00:01 |                                                                                                                                                                               
    |* 27 |            TABLE ACCESS BY INDEX ROWID     | SUBJECT_COMPONENT              |     1 |    96 |     4   (0)| 00:00:01 |                                                                                                                                                                               
    |* 28 |             INDEX RANGE SCAN               | SUBJECT_COMPONENT_PK           |     1 |       |     3   (0)| 00:00:01 |                                                                                                                                                                               
    |* 29 |             TABLE ACCESS BY INDEX ROWID    | CW_PORTFOLIO_TEMPLATE          |     1 |    46 |     4   (0)| 00:00:01 |                                                                                                                                                                               
    |* 30 |              INDEX RANGE SCAN              | YEAR_MON_PORTFOLIO_TEMPLATE    |     1 |       |     3   (0)| 00:00:01 |                                                                                                                                                                               
    |* 31 |              TABLE ACCESS BY INDEX ROWID   | SUBJECT_COMPONENT              |     1 |    96 |     4   (0)| 00:00:01 |                                                                                                                                                                               
    |* 32 |               INDEX RANGE SCAN             | SUBJECT_COMPONENT_PK           |     1 |       |     3   (0)| 00:00:01 |                                                                                                                                                                               
    |* 33 |               TABLE ACCESS BY INDEX ROWID  | CW_PORTFOLIO_TEMPLATE          |     1 |    46 |     4   (0)| 00:00:01 |                                                                                                                                                                               
    |* 34 |                INDEX RANGE SCAN            | YEAR_MON_PORTFOLIO_TEMPLATE    |     1 |       |     3   (0)| 00:00:01 |                                                                                                                                                                               
    |* 35 |                TABLE ACCESS BY INDEX ROWID | SUBJECT_COMPONENT              |     1 |    87 |     4   (0)| 00:00:01 |                                                                                                                                                                               
    |* 36 |                 INDEX RANGE SCAN           | SUBJECT_COMPONENT_PK           |     1 |       |     3   (0)| 00:00:01 |                                                                                                                                                                               
    |* 37 |          FILTER                            |                                |       |       |            |          |                                                                                                                                                                               
    |* 38 |           FILTER                           |                                |       |       |            |          |                                                                                                                                                                               
    |  39 |            NESTED LOOPS                    |                                |     1 |   270 |    16   (0)| 00:00:01 |                                                                                                                                                                               
    |  40 |             NESTED LOOPS                   |                                |     1 |   244 |    14   (0)| 00:00:01 |                                                                                                                                                                               
    |  41 |              NESTED LOOPS                  |                                |     1 |   216 |    12   (0)| 00:00:01 |                                                                                                                                                                               
    |  42 |               NESTED LOOPS                 |                                |     1 |   156 |     9   (0)| 00:00:01 |                                                                                                                                                                               
    |* 43 |                TABLE ACCESS BY INDEX ROWID | CANDIDATE_COMPONENT_REG        |     1 |   112 |     6   (0)| 00:00:01 |                                                                                                                                                                               
    |* 44 |                 INDEX RANGE SCAN           | ASSESSMENT_SPLIT_SESSION       |     1 |       |     5   (0)| 00:00:01 |                                                                                                                                                                               
    |  45 |                TABLE ACCESS BY INDEX ROWID | CW_CANDIDATE_PORTFOLIO         |     1 |    44 |     3   (0)| 00:00:01 |                                                                                                                                                                               
    |* 46 |                 INDEX RANGE SCAN           | CANDIDATE_PORTFOLIO_INDEX1     |     1 |       |     2   (0)| 00:00:01 |                                                                                                                                                                               
    |* 47 |               TABLE ACCESS BY INDEX ROWID  | CANDIDATE_SUBJECT_REGISTRATION |     1 |    60 |     3   (0)| 00:00:01 |                                                                                                                                                                               
    |* 48 |                INDEX RANGE SCAN            | CAND_REG_SCHOOL                |     1 |       |     2   (0)| 00:00:01 |                                                                                                                                                                               
    |* 49 |              TABLE ACCESS BY INDEX ROWID   | CANDIDATE_SESSION_DETAIL       |     1 |    28 |     2   (0)| 00:00:01 |                                                                                                                                                                               
    |* 50 |               INDEX UNIQUE SCAN            | CANDIDATE_DETAIL_PK            |     1 |       |     1   (0)| 00:00:01 |                                                                                                                                                                               
    |  51 |             TABLE ACCESS BY INDEX ROWID    | CANDIDATE                      |     1 |    26 |     2   (0)| 00:00:01 |                                                                                                                                                                               
    |* 52 |              INDEX UNIQUE SCAN             | CANDIDATE_PK                   |     1 |       |     1   (0)| 00:00:01 |                                                                                                                                                                               
    |* 53 |           TABLE ACCESS BY INDEX ROWID      | CW_PORTFOLIO_TEMPLATE          |     1 |    46 |     4   (0)| 00:00:01 |                                                                                                                                                                               
    |* 54 |            INDEX RANGE SCAN                | YEAR_MON_PORTFOLIO_TEMPLATE    |     1 |       |     3   (0)| 00:00:01 |                                                                                                                                                                               
    |* 55 |            TABLE ACCESS BY INDEX ROWID     | SUBJECT_COMPONENT              |     1 |    96 |     4   (0)| 00:00:01 |                                                                                                                                                                               
    |* 56 |             INDEX RANGE SCAN               | SUBJECT_COMPONENT_PK           |     1 |       |     3   (0)| 00:00:01 |                                                                                                                                                                               
    |* 57 |             TABLE ACCESS BY INDEX ROWID    | CW_PORTFOLIO_TEMPLATE          |     1 |    46 |     4   (0)| 00:00:01 |                                                                                                                                                                               
    |* 58 |              INDEX RANGE SCAN              | YEAR_MON_PORTFOLIO_TEMPLATE    |     1 |       |     3   (0)| 00:00:01 |                                                                                                                                                                               
    |* 59 |              TABLE ACCESS BY INDEX ROWID   | SUBJECT_COMPONENT              |     1 |    96 |     4   (0)| 00:00:01 |                                                                                                                                                                               
    |* 60 |               INDEX RANGE SCAN             | SUBJECT_COMPONENT_PK           |     1 |       |     3   (0)| 00:00:01 |                                                                                                                                                                               
    |* 61 |               TABLE ACCESS BY INDEX ROWID  | CW_PORTFOLIO_TEMPLATE          |     1 |    46 |     4   (0)| 00:00:01 |                                                                                                                                                                               
    |* 62 |                INDEX RANGE SCAN            | YEAR_MON_PORTFOLIO_TEMPLATE    |     1 |       |     3   (0)| 00:00:01 |                                                                                                                                                                               
    |* 63 |                TABLE ACCESS BY INDEX ROWID | SUBJECT_COMPONENT              |     1 |    87 |     4   (0)| 00:00:01 |                                                                                                                                                                               
    |* 64 |                 INDEX RANGE SCAN           | SUBJECT_COMPONENT_PK           |     1 |       |     3   (0)| 00:00:01 |                                                                                                                                                                               
    |  65 |         CONCATENATION                      |                                |       |       |            |          |                                                                                                                                                                               
    |* 66 |          FILTER                            |                                |       |       |            |          |                                                                                                                                                                               
    |  67 |           TABLE ACCESS BY INDEX ROWID      | CW_CANDIDATE_PORTFOLIO         |     1 |    44 |     3   (0)| 00:00:01 |                                                                                                                                                                               
    |  68 |            NESTED LOOPS                    |                                |     1 |   238 |    23   (0)| 00:00:01 |                                                                                                                                                                               
    |  69 |             NESTED LOOPS                   |                                |     1 |   194 |    20   (0)| 00:00:01 |                                                                                                                                                                               
    |  70 |              NESTED LOOPS                  |                                |     1 |   168 |    18   (0)| 00:00:01 |Edited by: user575115 on

    Hi
    i have seen your query and i am nt changing the whole query but i'll recommend some of the changes it may helps in the performance tuning...
    1) write all the filter conditions in the FROM clause in correspondence to the tables for ex :
    One way : select * from tab a, tab1 b where a.c = b.c and a.d in ('xx','lll')
    Tuned way : select * from (select c from tab where d in ('xx','lll')) a, tab b where a.c = b.c (it provides lesser rows for joining)
    2) Donot write Inline query in the select statement.You can try it.
    for ex:
    One way : select a.c, (select d from tab1 where tab1.d = a.e) from tab a
    tuned way : select a.c, tab1.d from tab a, tab1 where tab1.d = a.e
    3) Check the gathering of stats in 10G
    4) Avoid using ANSI standered for JOINS for ex : Instead of select * from a inner join a on ... use select * from a, b where joining cond.(I am not confirmed)
    5) If possible here use the WITH clause becuase you have use UNION and you have use some common tables which are executing twice in the current.
    6) Use some HINTS like FIRST_ROWS
    If somewhere i am wrong please correct me.
    Edited by: user9292111 on 22-Mar-2012 01:52
    Edited by: user9292111 on 22-Mar-2012 01:53

  • I was updating software and suddenly my IPHONE  started asking for I tunes on mobile screen ,  how can  i  get by screen back or How i can restore without loosing data , I m more worried about data , Please help in resolutio

    i was updating software and suddenly my IPHONE  started asking for I tunes on mobile screen ,  how can  i  get by screen back or How i can restore without loosing data , I m more worried about data , Please help in resolutio

    What exactly are you seeing on the phone's screen ? If the iTunes icon and cable then the phone is in recovery mode, in which case it's too late to take a new backup or to copy any content off the phone - you will have to connect the phone to your computer's iTunes and reset it back to factory defaults, after which you can restore to the last backup that you took or just resync your content to it

  • How do I go about picking my favorite song 'Songs of Life' by Neil Diamond and pay for the tune? Please help

    I want to select 'Songs of Life' by Neil Diamond and pay for the tune. I could not locate the karaoke version. Please help!

    See this article for more help and information.
    iTunes: Finding lost media and downloads
    B-rock

  • Help needed to tune the Query:Statistics added

    Can someone DBA please help me to tune this query:
    SELECT DISTINCT K.ATTRIBUTE_VALUE AGENCY_ID,B.PROFILE_NM ,NVL(G.OFFICE_DESC,'--') OFFICE_DESC,f.OFFICE_ID,B.PROFILE_ID,'%' ROLE,'%' LAYOUT,
    CASE
    WHEN 'flagB' = '%' THEN
    NVL(J.ISS_GRP_DESC,'BILLING')
    WHEN 'flagO' = '%' THEN
    NVL(J.ISS_GRP_DESC,'ORDERING')
    WHEN 'flag' = '%' THEN
    NVL(J.ISS_GRP_DESC,'BILLING/ORDERING')
    ELSE
    NVL(J.ISS_GRP_DESC,' ')
    END ISS_GRP_DESC,
    DECODE(NVL(H.USERID,' ') ,' ','--','<a sbcuid_in=' || H.USERID || ' target=NEW >'||H.FIRSTNAME || ' ' || H.LASTNAME || '( ' || H.USERID || ' )</a>' ) USER_NAME
    FROM
    PROFILE_PORTAL B ,
    TBL_BDA_AGENCY_RESP_REP C ,
    TBL_BDA_AGENCY_OFFICE F,
    TBL_BDA_OFFICE G,
    USERS_PORTAL H,
    TBL_BDA_USR_ISS_GRP I ,
    TBL_BDA_ISS_GROUP J,
    ATTRIBUTE_VALUES_PORTAL K,
    PROFILE_TYPE_PORTAL L
    WHERE
    B.PROFILE_ID = F.AGENCY_ID (+)
    AND B.PROFILE_ID = C.AGENCY_ID (+)
    AND G.OFFICE_ID (+)= F.OFFICE_ID
    AND H.USERID (+)= C.RESP_USR_ID
    AND C.ISS_GRP_ID = I.ISS_GRP_ID (+)
    AND I.ISS_GRP_ID = J.ISS_GRP_ID(+)
    AND 'PROFILE.'||B.PROFILE_ID = K.ENTITY_ID(+)
    AND K.ATTRIBUTE_VALUE IS NOT NULL
    AND L.PROFILE_TYPE_ID = B.PROFILE_TYPE_ID
    AND L.APPLICATION_CD='BDA'
    AND NOT EXISTS (SELECT agency_id
    FROM TBL_BDA_AGENCY_RESP_REP t
    WHERE t.ISS_GRP_ID IN ('%')
    AND t.AGENCY_ID = C.AGENCY_ID)
    AND K.ATTRIBUTE_VALUE LIKE '%'
    AND UPPER(B.PROFILE_NM) LIKE UPPER('%')
    AND (to_char(NVL(B.PROFILE_ID,0)) LIKE '%' OR NVL(B.PROFILE_ID,0) IN ('a'))
    AND NVL(G.OFFICE_ID,0) IN ('%')
    AND (to_char(NVL(C.RESP_USR_ID,'0')) LIKE '%' OR NVL(C.RESP_USR_ID,'0') IN ('k'))
    ORDER BY PROFILE_NM
    The number of rows in these tables are as follows:
    PROFILE_PORTAL -- 2392
    TBL_BDA_AGENCY_RESP_REP 3508
    TBL_BDA_AGENCY_OFFICE 2151
    TBL_BDA_OFFICE 3
    USERS_PORTAL 270500
    TBL_BDA_USR_ISS_GRP 234
    TBL_BDA_ISS_GROUP 2
    ATTRIBUTE_VALUES_PORTAL 2790
    PROFILE_TYPE_PORTAL 3
    The Explain pal nhas given this o/p to me:
    SQL> select * from table(dbms_xplan.display) dual;
    PLAN_TABLE_OUTPUT
    | Id | Operation | Name | Rows | Bytes |TempSpc| Cost |
    | 0 | SELECT STATEMENT | | 807 | 102K| | 2533 |
    | 1 | SORT UNIQUE | | 807 | 102K| 232K| 82 |
    |* 2 | FILTER | | | | | |
    |* 3 | HASH JOIN OUTER | | 807 | 102K| | 52 |
    |* 4 | HASH JOIN OUTER | | 807 | 95226 | | 40 |
    |* 5 | TABLE ACCESS BY INDEX ROWID | ATTRIBUTE_VALUES | 1 | 23 | | 2 |
    | 6 | NESTED LOOPS | | 7 | 805 | | 37 |
    | 7 | NESTED LOOPS OUTER | | 6 | 552 | | 25 |
    |* 8 | FILTER | | | | | |
    | 9 | NESTED LOOPS OUTER | | | | | |
    |* 10 | FILTER | | | | | |
    | 11 | NESTED LOOPS OUTER | | | | | |
    | 12 | NESTED LOOPS OUTER | | 3 | 141 | | 10 |
    |* 13 | HASH JOIN | | 3 | 120 | | 7 |
    |* 14 | TABLE ACCESS FULL | PROFILE | 6 | 198 | | 4 |
    |* 15 | TABLE ACCESS FULL | PROFILE_TYPE | 1 | 7 | | 2 |
    |* 16 | INDEX RANGE SCAN | SYS_C0019777 | 1 | 7 | | 1 |
    | 17 | TABLE ACCESS BY INDEX ROWID| TBL_BDA_OFFICE | 1 | 10 | | 1 |
    |* 18 | INDEX UNIQUE SCAN | SYS_C0019800 | 1 | | | |
    | 19 | TABLE ACCESS BY INDEX ROWID | TBL_BDA_AGENCY_RESP_REP | 2 | 26 | | 2 |
    |* 20 | INDEX RANGE SCAN | IDX_AGECYRESP_AGNCYID | 2 | | | 1 |
    | 21 | TABLE ACCESS BY INDEX ROWID | USER_ | 1 | 22 | | 1 |
    |* 22 | INDEX UNIQUE SCAN | USER_PK | 1 | | | |
    |* 23 | INDEX RANGE SCAN | IDX_ATTVAL_ENTATTID | 1 | | | 1 |
    | 24 | TABLE ACCESS FULL | TBL_BDA_USR_ISS_GRP | 234 | 702 | | 2 |
    | 25 | TABLE ACCESS FULL | TBL_BDA_ISS_GROUP | 2 | 24 | | 2 |
    |* 26 | TABLE ACCESS BY INDEX ROWID | TBL_BDA_AGENCY_RESP_REP | 1 | 7 | | 3 |
    |* 27 | INDEX RANGE SCAN | IDX_AGECYRESP_AGNCYID | 2 | | | 1 |
    Predicate Information (identified by operation id):
    2 - filter( NOT EXISTS (SELECT /*+ */ 0 FROM "TBL_BDA_AGENCY_RESP_REP" "T" WHERE "T"."AGENCY_ID"=:B1
    AND "T"."ISS_GRP_ID"=TO_NUMBER('%')))
    3 - access("I"."ISS_GRP_ID"="J"."ISS_GRP_ID"(+))
    4 - access("SYS_ALIAS_1"."ISS_GRP_ID"="I"."ISS_GRP_ID"(+))
    5 - filter("K"."ATTRIBUTE_VALUE" IS NOT NULL AND "K"."ATTRIBUTE_VALUE" LIKE '%')
    8 - filter(NVL("SYS_ALIAS_1"."RESP_USR_ID",'0') LIKE '%' OR NVL("SYS_ALIAS_1"."RESP_USR_ID",'0')='k')
    10 - filter(NVL("G"."OFFICE_ID",0)=TO_NUMBER('%'))
    13 - access("L"."PROFILE_TYPE_ID"="B"."PROFILE_TYPE_ID")
    14 - filter(UPPER("B"."PROFILE_NM") LIKE '%' AND (TO_CHAR(NVL("B"."PROFILE_ID",0)) LIKE '%' OR
    NVL("B"."PROFILE_ID",0)=TO_NUMBER('a')))
    15 - filter("L"."APPLICATION_CD"='BDA')
    16 - access("B"."PROFILE_ID"="F"."AGENCY_ID"(+))
    18 - access("G"."OFFICE_ID"(+)="F"."OFFICE_ID")
    20 - access("B"."PROFILE_ID"="SYS_ALIAS_1"."AGENCY_ID"(+))
    22 - access("H"."USERID"(+)="SYS_ALIAS_1"."RESP_USR_ID")
    23 - access("K"."ENTITY_ID"='PROFILE.'||TO_CHAR("B"."PROFILE_ID"))
    26 - filter("T"."ISS_GRP_ID"=TO_NUMBER('%'))
    27 - access("T"."AGENCY_ID"=:B1)
    Note: cpu costing is off
    57 rows selected.
    Elapsed: 00:00:01.08
    Please help me.
    Aashish S.

    Hello Eric,
    Here is the code:
    SELECT DISTINCT
    K.ATTRIBUTE_VALUE AGENCY_ID,
    B.PROFILE_NM ,
    NVL(G.OFFICE_DESC,'--') OFFICE_DESC,
    f.OFFICE_ID,
    B.PROFILE_ID,
    '%' ROLE,
    '%' LAYOUT,
    case
    WHEN 'flagB' = '%' THEN
    NVL(J.ISS_GRP_DESC,'BILLING')
    WHEN 'flagO' = '%' THEN
    NVL(J.ISS_GRP_DESC,'ORDERING')
    WHEN 'flag' = '%' THEN
    NVL(J.ISS_GRP_DESC,'BILLING/ORDERING')
    else
    NVL(J.ISS_GRP_DESC,' ')
    END ISS_GRP_DESC,
    DECODE(NVL(H.USERID,' ') ,' ','--','&lt;a sbcuid_in=' || H.USERID || ' target=NEW &gt;'||H.FIRSTNAME || ' ' || H.LASTNAME ||
    '( ' || H.USERID || ' )&lt;/a&gt;' ) USER_NAME
    from
    PROFILE_PORTAL B ,
    TBL_BDA_AGENCY_RESP_REP C ,
    TBL_BDA_AGENCY_OFFICE F,
    TBL_BDA_OFFICE G,
    USERS_PORTAL H,
    TBL_BDA_USR_ISS_GRP I ,
    TBL_BDA_ISS_GROUP J,
    ATTRIBUTE_VALUES_PORTAL K,
    PROFILE_TYPE_PORTAL L
    WHERE
    B.PROFILE_ID = F.AGENCY_ID (+)
    AND B.PROFILE_ID = C.AGENCY_ID (+)
    AND G.OFFICE_ID (+)= F.OFFICE_ID
    AND H.USERID (+)= C.RESP_USR_ID
    AND C.ISS_GRP_ID = I.ISS_GRP_ID (+)
    AND I.ISS_GRP_ID = J.ISS_GRP_ID(+)
    AND 'PROFILE.'||B.PROFILE_ID = K.ENTITY_ID(+)
    AND K.ATTRIBUTE_VALUE IS NOT NULL
    AND L.PROFILE_TYPE_ID = B.PROFILE_TYPE_ID
    AND L.APPLICATION_CD='BDA'
    AND NOT EXISTS
    (SELECT agency_id
    FROM TBL_BDA_AGENCY_RESP_REP t
    WHERE t.ISS_GRP_ID IN (1)
    AND t.AGENCY_ID = C.AGENCY_ID)
    AND K.ATTRIBUTE_VALUE LIKE '%'
    AND UPPER(B.PROFILE_NM) LIKE UPPER('%')
    AND (to_char(NVL(B.PROFILE_ID,0))
    LIKE '%'
    OR NVL(B.PROFILE_ID,0) IN (1))
    AND NVL(G.OFFICE_ID,0) IN (1)
    AND (to_char(NVL(C.RESP_USR_ID,'0'))
    LIKE '%'
    OR NVL(C.RESP_USR_ID,'0') IN ('%'))
    ORDER BY PROFILE_NM
    This is the Query and the query takes some mins. to run in prod environment.
    From the Query plan ,I am not able to get any idea for optimization.
    Now,Can you tell me which steps I need to follow to run it faster and which all modifications should be made?
    Thanks.
    Aashish S.

  • Where do i get the new update for i tunes?

    Do u know where do i get the new update for i tunes?

    Simply start your iTunes program, select HELP, select CHECK FOR UPDATES.

  • HT4906 It has taken almost 2 weeks for i tunes to download i photo to my mac. Any suggestions?

    It has taken almost 2 weeks for i tunes to download i photo to my Mac. Any suggestions??

    What system are you running?  Can you access the App Store via the App Store application that's in the Applications folder. If you don't have the App Store applicaton then you probably don't have a new enough system to run the iPhoto 9.4.2 app.
    Or are you trying to download the iPhoto for iOS app for use on an iPhone or iPad?
    You'll need to fill in those questions and give more detail before we can help.
    OT

  • Downloaded update for I-tunes (11.1) but now can't open I-Tunes.

    Downloded update for I-Tunes (11.1) but now can't open I-Tunes.

    Hey erndog55!
    There is an article here that I would like for you to take a look at that can help you troubleshoot iTunes installation on your Mac:
    Troubleshooting iTunes installation on Mac OS X
    http://support.apple.com/kb/HT2311
    Thanks for using the Apple Support Communities. Have a good one!
    -Braden

  • I have been constantly charged for I tunes, that I did not order. Plesae stop this.

    I am being charged for I tunes , on my credit card, I need this to stop immediately. Please help me do this.

    Contact the card’s issuer. If the items you’re being charged for appear in your iTunes Store purchase history, click here and contact the iTunes Store staff as well.
    (125543)

  • How can you change your security question for I tunes?

    How can you change your security question for I tunes?

    If you have a rescue email address (which is not the same thing as an alternate email address) set up on your account then the steps half-way down this page give you a reset link on your account : http://support.apple.com/kb/HT5312
    If you don't have a rescue email address (you won't be able to add one until you can answer 2 of your questions) then you will need to contact iTunes Support / Apple to get the questions reset.
    Contacting Apple about account security : http://support.apple.com/kb/HT5699
    When they've been reset (and if you don't already have a rescue email address) you can then use the steps half-way down the HT5312 link above to add a rescue email address for potential future use

  • Creating search help for a field in AdHoc Query

    Hi
    We have created an infoset based on LDB PCH.
    (The infoset contains object type O only).
    For the object-id field the users want search help when choosing this field for selection.
    Using "start via selection screen" does not give a good solution.
    Can anyone explain how I can create search help for fields in an infoset?
    Regards
    Kirsten

    Hi
    We have created an infoset based on LDB PCH.
    (The infoset contains object type O only).
    For the object-id field the users want search help when choosing this field for selection.
    Using "start via selection screen" does not give a good solution.
    Can anyone explain how I can create search help for fields in an infoset?
    Regards
    Kirsten

  • Help me query tunning

    Hi Guru's
    Can you please help me query tunning.
    Database Version : Oracle 11g - 11.2.0.3
    select  distinct  corporation_name custer_name,
            glog_util.remove_domain(SHIP_BUY.SERVPROV_GID ) SCAC,
            glog_util.remove_domain(ship_buy.shipment_gid) buy_shipment_gid,
            F_Get_SELL_ID_STRING(SHIP_BUY.SHIPMENT_GID) sell_shipment_gid,
            ship_buy.domain_name,    
            F_GET_ORDER_RELEASE_GID('B',SHIP_BUY.SHIPMENT_GID,0) ORDER_RELEASE_GID,
            f_get_refnum_string('SHIPMENT', ship_buy.shipment_gid, 'MBOL_NUMBER_CLEANSED')MBOL_NUMBER,
            F_GET_POD_RECEIVED_DATE (ship_BUY.SHIPMENT_GID) POD_RECEIVED_DATE,
            f_get_exp_accrue_amt(ship_buy.shipment_gid,'SHIPMENT') Total_accrual_amount    
    from shipment ship_buy,
            invoice inv,
            invoice_shipment si,
            --voucher v,
            corporation corp
    where corp.domain_name=ship_buy.domain_name
            and corp.is_domain_master='Y'
          and 1=1
          AND ship_buy.domain_name like 'UPS/CP/DFP/%'
          and F_GET_POD_RECEIVED_DATE (ship_BUY.SHIPMENT_GID)  <= to_char(to_date('31-JUL-2013', 'DD-MON-YYYY'), 'dd-mon-yyyy')
            --and V.INVOICE_GID(+) = inv.invoice_gid
            --and ship_buy.domain_name = 'UPS/CP/VZNB'
            and si.shipment_gid(+) = SHIP_BUY.SHIPMENT_GID
            AND SI.INVOICE_GID = INV.INVOICE_GID(+)
            and SHIP_BUY.INSERT_DATE > '1-JAN-2007'
            and SHIP_BUY.USER_DEFINED1_ICON_GID = 'ACCEPTED'
    UNION        
    select  distinct  corporation_name custer_name,
            glog_util.remove_domain(SHIP_BUY.SERVPROV_GID ) SCAC,
            glog_util.remove_domain(ship_buy.shipment_gid) buy_shipment_gid,
            F_GET_SELL_ID_STRING( SHIP_BUY.SHIPMENT_GID) sell_shipment_gid,
            ship_buy.domain_name,    
            F_GET_ORDER_RELEASE_GID('B',SHIP_BUY.SHIPMENT_GID,0) ORDER_RELEASE_GID,
            f_get_refnum_string('SHIPMENT', ship_buy.shipment_gid, 'MBOL_NUMBER_CLEANSED')MBOL_NUMBER,
            F_GET_POD_RECEIVED_DATE (ship_BUY.SHIPMENT_GID) POD_RECEIVED_DATE,
            f_get_exp_accrue_amt(inv.invoice_gid,'INVOICE') Total_accrual_amount  
    from shipment ship_buy,
            invoice inv,
            invoice_shipment si,
          -- voucher v,
            corporation corp
    where corp.domain_name=ship_buy.domain_name
            and corp.is_domain_master='Y'
            and 1=1
            AND ship_buy.domain_name like 'UPS/CP/DFP/%'
            and F_GET_POD_RECEIVED_DATE (ship_BUY.SHIPMENT_GID)  <= to_char(to_date('31-JUL-2013', 'DD-MON-YYYY'), 'dd-mon-yyyy')
          --AND INV.DOMAIN_NAME = 'UPS/CP/VZNB'
          --and V.INVOICE_GID(+) = inv.invoice_gid
            and si.shipment_gid(+) = SHIP_BUY.SHIPMENT_GID
            AND SI.INVOICE_GID = INV.INVOICE_GID(+)
            and SHIP_BUY.INSERT_DATE > '1-JAN-2007'
            and INV.USER_DEFINED1_ICON_GID = 'ACCEPTED'
    GROUP BY corporation_name,SHIP_BUY.SHIPMENT_GID,SHIP_BUY.SERVPROV_GID,ship_buy.domain_name,inv.invoice_gid
    ORDER BY CUSTER_NAME, BUY_SHIPMENT_GID;
    And I generated the execution plan :
    | Id  | Operation                          | Name                    | Rows  | Bytes | Cost (%CPU)| Time    |
    |  0 | SELECT STATEMENT                  |                        |    3 |  448 |  415  (2)| 00:00:05 |
    |  1 |  SORT UNIQUE                      |                        |    3 |  448 |  414  (87)| 00:00:05 |
    |  2 |  UNION-ALL                        |                        |      |      |            |          |
    |  3 |    NESTED LOOPS OUTER              |                        |    3 |  384 |    57  (0)| 00:00:01 |
    |*  4 |    HASH JOIN                      |                        |    3 |  294 |    54  (0)| 00:00:01 |
    |*  5 |      TABLE ACCESS BY INDEX ROWID  | SHIPMENT                |    3 |  195 |    40  (0)| 00:00:01 |
    |*  6 |      INDEX SKIP SCAN              | IND_SHIP_DOM_ICON      |    54 |      |    25  (0)| 00:00:01 |
    |*  7 |      TABLE ACCESS FULL            | CORPORATION            |    4 |  132 |    14  (0)| 00:00:01 |
    |*  8 |    INDEX RANGE SCAN              | IND_INVOICESHIP_SHP_GID |    1 |    30 |    1  (0)| 00:00:01 |
    |  9 |    HASH GROUP BY                  |                        |    1 |  192 |  356  (1)| 00:00:05 |
    |* 10 |    HASH JOIN                      |                        |    1 |  192 |  354  (1)| 00:00:05 |
    |  11 |      NESTED LOOPS                  |                        |      |      |            |          |
    |  12 |      NESTED LOOPS                |                        |    1 |  159 |  339  (0)| 00:00:05 |
    |  13 |        NESTED LOOPS                |                        |  145 | 13920 |  194  (0)| 00:00:03 |
    |  14 |        TABLE ACCESS BY INDEX ROWID| INVOICE                |  145 |  5220 |    49  (0)| 00:00:01 |
    |* 15 |          INDEX SKIP SCAN          | IDX_INV_TYP_ICON_NAM    |  145 |      |    17  (0)| 00:00:01 |
    |* 16 |        INDEX RANGE SCAN          | UK_INVOICE_SHIPMENT    |    1 |    60 |    1  (0)| 00:00:01 |
    |* 17 |        INDEX UNIQUE SCAN          | PK_SHIPMENT            |    1 |      |    1  (0)| 00:00:01 |
    |* 18 |      TABLE ACCESS BY INDEX ROWID  | SHIPMENT                |    1 |    63 |    1  (0)| 00:00:01 |
    |* 19 |      TABLE ACCESS FULL            | CORPORATION            |    4 |  132 |    14  (0)| 00:00:01 |
    Predicate Information (identified by operation id):
      4 - access("CORP"."DOMAIN_NAME"="SHIP_BUY"."DOMAIN_NAME")
      5 - filter("F_GET_POD_RECEIVED_DATE"("SHIP_BUY"."SHIPMENT_GID")<=TO_DATE(' 2013-07-31 00:00:00',
                  'syyyy-mm-dd hh24:mi:ss') AND "SHIP_BUY"."INSERT_DATE">TO_DATE(' 2007-01-01 00:00:00', 'syyyy-mm-dd
                  hh24:mi:ss'))
      6 - access("SHIP_BUY"."USER_DEFINED1_ICON_GID"='ACCEPTED' AND "SHIP_BUY"."DOMAIN_NAME" LIKE
                  'UPS/CP/DFP/%')
          filter("SHIP_BUY"."DOMAIN_NAME" LIKE 'UPS/CP/DFP/%' AND
                  "SHIP_BUY"."USER_DEFINED1_ICON_GID"='ACCEPTED')
      7 - filter("CORP"."IS_DOMAIN_MASTER"='Y' AND "CORP"."DOMAIN_NAME" LIKE 'UPS/CP/DFP/%')
      8 - access("SI"."SHIPMENT_GID"(+)="SHIP_BUY"."SHIPMENT_GID")
      10 - access("CORP"."DOMAIN_NAME"="SHIP_BUY"."DOMAIN_NAME")
      15 - access("INV"."USER_DEFINED1_ICON_GID"='ACCEPTED')
          filter("INV"."USER_DEFINED1_ICON_GID"='ACCEPTED')
      16 - access("SI"."INVOICE_GID"="INV"."INVOICE_GID")
      17 - access("SI"."SHIPMENT_GID"="SHIP_BUY"."SHIPMENT_GID")
          filter("F_GET_POD_RECEIVED_DATE"("SHIP_BUY"."SHIPMENT_GID")<=TO_DATE(' 2013-07-31 00:00:00',
                  'syyyy-mm-dd hh24:mi:ss'))
      18 - filter("SHIP_BUY"."DOMAIN_NAME" LIKE 'UPS/CP/DFP/%' AND "SHIP_BUY"."INSERT_DATE">TO_DATE('
                  2007-01-01 00:00:00', 'syyyy-mm-dd hh24:mi:ss'))
      19 - filter("CORP"."IS_DOMAIN_MASTER"='Y' AND "CORP"."DOMAIN_NAME" LIKE 'UPS/CP/DFP/%')
    Statistics
        246247  recursive calls
              2  db block gets
        1660067  consistent gets
          13839  physical reads
              0  redo size
        592054  bytes sent via SQL*Net to client
          6024  bytes received via SQL*Net from client
            502  SQL*Net roundtrips to/from client
          15296  sorts (memory)
              0  sorts (disk)
          7513  rows processed

    Hmmm...why does this look familiar?
    F_GET_POD_RECEIVED_DATE (ship_BUY.SHIPMENT_GID)  <= to_char(to_date('31-JUL-2013', 'DD-MON-YYYY'), 'dd-mon-yyyy')
    SHIP_BUY.INSERT_DATE > '1-JAN-2007'
    Like I said in your other thread about this, these two lines need to be fixed and your function needs to be fixed so the return statement doesn't do an implicit date conversion.
    Can't you see what that first line is doing?  You're taking a character string, turning it into a date, then back to a character string.
    If nothing else, these lines should be...
    F_GET_POD_RECEIVED_DATE (ship_BUY.SHIPMENT_GID)  <= to_date('31-JUL-2013', 'DD-MON-YYYY')
    SHIP_BUY.INSERT_DATE > to_date('01-JAN-2007','DD-MON-YYYY')
    (assuming insert_date is a proper date format, fingers crossed)

  • Need to restrict values in F4 help for Batch Characteristic

    Hi,
    I need to restrict values in F4 Help for a batch characteristic based on values entered for another characteristic. I could not find any BADI or Exit for this purpose. There is a BADI CACL_VALUE which is triggered after an entry is selected from dropdown list but nothing when we press F4. I thought of using Object Dependency but I need to write a programming logic for the requirement. Please let me know if there is any way to write program in Object Dependency or any other way for this requirement.
    Regards,
    Nikhil

    Hi nikhil simha,
    first of all, find out which search help is called.
    [Hierarchy of the Search Help Call|http://help.sap.com/saphelp_nw70/helpdata/en/0b/32e9b798da11d295b800a0c929b3c3/frameset.htm]
    may help you.
    If you know the search help, you may enhance it, but first of all you should check the where-used-list and make sure that the search help shows the requested behavior only in the context where you want it to.
    If it is your own program, you may be better off to create your own search help and define the triggering fields as search help interface input fields. Then you can use the values to filter results.
    Regards
    Clemens

Maybe you are looking for

  • Recovery Tool Myst

    When I use my recovery tool, it detects the player. But when it begins to download the firmware update, it say it's not connected. I've changed the registry permissions, rolled back wmp and un/reinstalled all creative software. Someone out there has

  • How to configure Database parameters to Spatial?

    Say, when creating the database, you choose the preconfigured "GENERAL PURPOSE" for using it with mapserver and ORACLE SPATIAL. Is it ok, to leave it like that? Or is it a must to change some parameters? Also, which parameters will be critical if I d

  • Run form via form builder

    I'm having trouble running my forms via the forms builder. Everytime i click "run", a new browser window opens with url like http://127.0.0.1:1917/FYCu0odZTxl42wlbLoQ06rso8zKuYWEVV1TpUq4OddxheEMT The port and uri is new everytime. I have tried with a

  • Smart Albums iPhoto Ver. 6

    When looking at photo thumbnail view of a smart album have noticed the performance is very poor (slow). Also noticed when paging the thumbnail resolution is not clear (fuzzy). If dbl_click a photo to edit, click done, the screen repaints and the thum

  • Can one attach a line to an object?

    I want to create objects with attached lines, so that when I move the object, one end of the line automatically moves as well. Some of you might know that OmniGraffle does this. Is there a way to do it in Keynote? I thought not. But just now I import