How to reduce the column definition w/o losing the data in the columns?

I need to reduce a particular column definition of a table from varchar2(10) to varchar2(4), but there is already existing data inside this column. The max length of data in this column is only 2 chars, which is less than the new column length.
What commands/steps should I take to reduce the column definition successfully without losing the data in this column?

Unfortunately, there is no one step solution.
You can create a new table and insert into this table with the old table values
e.g.
Old_Table
fld1 varchar2(10)
New_Table
fld1 varchar2(4)
insert into new_Table (select * from Old_Table) ;
I need to reduce a particular column definition of a table from varchar2(10) to varchar2(4), but there is already existing data inside this column. The max length of data in this column is only 2 chars, which is less than the new column length.
What commands/steps should I take to reduce the column definition successfully without losing the data in this column?

Similar Messages

  • How to reduce the query execution time

    hai all,
    We have created query on Purchasing Cube 0PUR_C01 for
                                Purchase Order (PO) analysis for single vendor materials, but it is taking long time to execute (about 45 sec...).
    In the above Query we have used the following things:
    In Columns:
    i) Exceptional aggregation for maximum & minimum PO Net Price using reference characteristic as Calendar Day.
    ii) Minimum PO Price value we have multiplied with Actual GR Quantity for the calculation of Impact of Lowest PO Net Price.
    iii) Number of vendors calculated key figure.
    In Rows:i)     Only Material
    In Filters:
    i)     Plant with variable select Option u2013 Optional.
    ii)     Calendar Year / Month with Select Option u2013 Optional.
    iii)     Material with excluded Unassigned (#).
    iv)     Vendor with excluded Unassigned (#).
    Following are we have used for Performance:
    i)     Aggregates using Propose from query (only for this query).
    ii)     Partitioning on Calendar Year / Month (For 1 year 14 partitions) i.e. (04.2007 to 03.2008).
    iii)      Collapse.
    iv)     In RSRT we have set the following properties
    Read Mode = H
    Req.Status  = 0
    Catch Mode = 4
    Persistence Mode = 3 (BLOB)
    Optimization mode = 0.
    Our inputs to this Query:
    i)     We are passing plant range 1201 to 1299.
    ii)     Calendar Year / Month 04.2007 to 03.2008.
    So please suggest me how to reduce the execution time.
    please help me.
    Thanks,
    kiran manyam

    Hi,
    First of all its a complete question with all the details. Good work.
    As you partitioned the cube based on calmonth and you are also giving calmonth in selection, it will definitely work towards improved query performance.
    As you are putting plant values in the selection, is there any aggregate available on plant characteristics? If not creating a aggregate on plant will help.
    Regards,
    Yogesh

  • How to reduce the coulmns width for Timesheet in ESS ?

    Hi,
    In ESS Timesheet, how to reduce the columns width for professional self service?
    It is looking fine for weekdays, but when the user is assigned as professional self service at back end, few more sales order columns are added dynamically to timesheet for professional self service user. Now these extra coulmns are jumbled and also wide.
    I tried the OSS notes 989453 in 'listviewerslim.java' , but it doesn't work. Is there any other alternative work around for this. Do I need to work at backend to solve this, If so, please let me know the work around.
    Points will be awarded.
    Regards,
    Raj.

    Dear Friend
    Really need ur help as we are upgrading from 4.7 to ECC6.
    Our client want to implement tiem sheet. Request you to provide gudiance wheher CATS i.e CATSRegular orESS timesheet would be useful.
    if would be great if u could provide a kind of advantages adn disadvantages of both.
    Suitable points would be rewarded
    Sam

  • How to reduce the size of icons and descriptions of pallets?

    Hi!
    1. The "Control bar" is still something missing and to display the location of the same functions are different depending on the selected tool.
    Therefore, the tools will I need to keep an eye on pallets or icons. But description of the pallets is too great for me, takes place and I can not see as many pallets as I need.
    2. The idea to create multiple workspace and its continuous change is not good for me.
    When I work I prefer to have the tools at its one location, then I can rely on My reflexes when choosing a tool, and not constantly look where this time or constantly switch the workspace.
    3. How to reduce the size of icons and descriptions of pallets I, then he could fit more pallets in one column?
    Best Regards!

    Hi Monika,
    Nice to read you again. Thank you for your response.
    Yes, I read. It does not solve the problem about which I write. I guess that solves your opinion? Please hint.

  • How to reduce the size of the query

    Hi all,
    Can any one suggest me how to reduce the size of the following query .
    /* Formatted on 2011/07/12 11:02 (Formatter Plus v4.8.8) */
    SELECT prs.pa_rqst_srvc_sid,
    (SELECT prpre.erroneous_data_value
    FROM pa_error pe,
    pa_error_detail ped,
    pa_request_procedure_run_error prpre
    WHERE pe.pa_error_sid = ped.pa_error_sid
    AND ped.pa_error_sid = prpre.pa_error_sid
    AND ped.oprtnl_flag = 'A'
    AND prpre.oprtnl_flag = 'A'
    AND prpre.pa_rqst_prcdr_sid = prp.pa_rqst_prcdr_sid
    AND pe.pa_error_nmbr = '5031'
    AND ped.aaa_segment_loop_nmbr = '2000F') revenue_iid,
    (SELECT prpre.erroneous_data_value
    FROM pa_error pe,
    pa_error_detail ped,
    pa_request_procedure_run_error prpre
    WHERE pe.pa_error_sid = ped.pa_error_sid
    AND ped.pa_error_sid = prpre.pa_error_sid
    AND ped.oprtnl_flag = 'A'
    AND prpre.oprtnl_flag = 'A'
    AND prpre.pa_rqst_prcdr_sid = prp.pa_rqst_prcdr_sid
    AND pe.pa_error_nmbr = '5013'
    AND ped.aaa_segment_loop_nmbr = '2000F') x12_code_list_qlfr_lkpcd,
    (SELECT prpre.erroneous_data_value
    FROM pa_error pe,
    pa_error_detail ped,
    pa_request_procedure_run_error prpre
    WHERE pe.pa_error_sid = ped.pa_error_sid
    AND ped.pa_error_sid = prpre.pa_error_sid
    AND ped.oprtnl_flag = 'A'
    AND prpre.oprtnl_flag = 'A'
    AND prpre.pa_rqst_prcdr_sid = prp.pa_rqst_prcdr_sid
    AND pe.pa_error_nmbr = '5026'
    AND ped.aaa_segment_loop_nmbr = '2000F') procedure_iid,
    (SELECT prpre.erroneous_data_value
    FROM pa_error pe,
    pa_error_detail ped,
    pa_request_procedure_run_error prpre
    WHERE pe.pa_error_sid = ped.pa_error_sid
    AND ped.pa_error_sid = prpre.pa_error_sid
    AND ped.oprtnl_flag = 'A'
    AND prpre.oprtnl_flag = 'A'
    AND prpre.pa_rqst_prcdr_sid = prp.pa_rqst_prcdr_sid
    AND pe.pa_error_nmbr = '5027'
    AND ped.aaa_segment_loop_nmbr = '2000F') mdfr_code,
    (SELECT prpre.erroneous_data_value
    FROM pa_error pe,
    pa_error_detail ped,
    pa_request_procedure_run_error prpre
    WHERE pe.pa_error_sid = ped.pa_error_sid
    AND ped.pa_error_sid = prpre.pa_error_sid
    AND ped.oprtnl_flag = 'A'
    AND prpre.oprtnl_flag = 'A'
    AND prpre.pa_rqst_prcdr_sid = prp.pa_rqst_prcdr_sid
    AND pe.pa_error_nmbr = '5028'
    AND ped.aaa_segment_loop_nmbr = '2000F') mdfr2_code,
    (SELECT prpre.erroneous_data_value
    FROM pa_error pe,
    pa_error_detail ped,
    pa_request_procedure_run_error prpre
    WHERE pe.pa_error_sid = ped.pa_error_sid
    AND ped.pa_error_sid = prpre.pa_error_sid
    AND ped.oprtnl_flag = 'A'
    AND prpre.oprtnl_flag = 'A'
    AND prpre.pa_rqst_prcdr_sid = prp.pa_rqst_prcdr_sid
    AND pe.pa_error_nmbr = '5029'
    AND ped.aaa_segment_loop_nmbr = '2000F') mdfr3_code,
    (SELECT prpre.erroneous_data_value
    FROM pa_error pe,
    pa_error_detail ped,
    pa_request_procedure_run_error prpre
    WHERE pe.pa_error_sid = ped.pa_error_sid
    AND ped.pa_error_sid = prpre.pa_error_sid
    AND ped.oprtnl_flag = 'A'
    AND prpre.oprtnl_flag = 'A'
    AND prpre.pa_rqst_prcdr_sid = prp.pa_rqst_prcdr_sid
    AND pe.pa_error_nmbr = '5030'
    AND ped.aaa_segment_loop_nmbr = '2000F') mdfr4_code,
    (SELECT prpre.erroneous_data_value
    FROM pa_error pe,
    pa_error_detail ped,
    pa_request_procedure_run_error prpre
    WHERE pe.pa_error_sid = ped.pa_error_sid
    AND ped.pa_error_sid = prpre.pa_error_sid
    AND ped.oprtnl_flag = 'A'
    AND prpre.oprtnl_flag = 'A'
    AND prpre.pa_rqst_prcdr_sid = prp.pa_rqst_prcdr_sid
    AND pe.pa_error_nmbr = '5014'
    AND ped.aaa_segment_loop_nmbr = '2000F') rqst_prcdr_amt,
    (SELECT prpre.erroneous_data_value
    FROM pa_error pe,
    pa_error_detail ped,
    pa_request_procedure_run_error prpre
    WHERE pe.pa_error_sid = ped.pa_error_sid
    AND ped.pa_error_sid = prpre.pa_error_sid
    AND ped.oprtnl_flag = 'A'
    AND prpre.oprtnl_flag = 'A'
    AND prpre.pa_rqst_prcdr_sid = prp.pa_rqst_prcdr_sid
    AND pe.pa_error_nmbr = '5015'
    AND ped.aaa_segment_loop_nmbr = '2000F') srvc_line_rate,
    'NA' drug_desc, 'NA' product_service_id, 'NA' uom_code,
    'NA' rqst_prcdr_units
    FROM pa_transaction_request ptr,
    input_acknwldgmnt ia,
    input_batch_file ibf,
    pa_request pr,
    pa_request_service prs,
    pa_request_procedure prp
    WHERE ptr.input_acknwldgmnt_sid = ia.input_acknwldgmnt_sid
    AND ia.input_batch_file_sid = ibf.input_batch_file_sid
    AND ptr.pa_trnsctn_rqst_sid = pr.pa_trnsctn_rqst_sid
    AND pr.pa_rqst_sid = prs.pa_rqst_sid
    AND prs.pa_rqst_srvc_sid = prp.pa_rqst_srvc_sid
    AND pr.oprtnl_flag = 'A'
    AND prs.oprtnl_flag = 'A'
    AND ptr.oprtnl_flag = 'A'
    AND prp.oprtnl_flag = 'A'
    AND prs.rqst_ctgry_lkpcd = 'AR'
    AND ibf.original_file_name = 'HIPAA.165760000.20110613I001.278_IRej.dat';
    Thanks,
    P Prakash

    Hi,
    Maybe like that, but keep in mind that it is highly untested_ :SELECT
      prs.pa_rqst_srvc_sid,
      pvt.c5031 revenue_iid,
      pvt.c5013 x12_code_list_qlfr_lkpcd,
      pvt.c5026 procedure_iid,
      pvt.c5027 mdfr_code,
      pvt.c5028 mdfr2_code,
      pvt.c5029 mdfr3_code,
      pvt.c5030 mdfr4_code,
      pvt.c5014 rqst_prcdr_amt,
      pvt.c5015 srvc_line_rate,
      srvc_line_rate,
      'NA' drug_desc,
      'NA' product_service_id,
      'NA' uom_code,
      'NA' rqst_prcdr_units
    FROM
      pa_transaction_request ptr,
      input_acknwldgmnt ia,
      input_batch_file ibf,
      pa_request pr,
      pa_request_service prs,
      pa_request_procedure prp,
        SELECT
          prpre.pa_rqst_prcdr_sid,
          MAX(DECODE(pa_error_nmbr,'5013',prpre.erroneous_data_value,NULL)) c5013,
          MAX(DECODE(pa_error_nmbr,'5014',prpre.erroneous_data_value,NULL)) c5014,
          MAX(DECODE(pa_error_nmbr,'5015',prpre.erroneous_data_value,NULL)) c5015,
          MAX(DECODE(pa_error_nmbr,'5026',prpre.erroneous_data_value,NULL)) c5026,
          MAX(DECODE(pa_error_nmbr,'5027',prpre.erroneous_data_value,NULL)) c5027,
          MAX(DECODE(pa_error_nmbr,'5028',prpre.erroneous_data_value,NULL)) c5028,
          MAX(DECODE(pa_error_nmbr,'5029',prpre.erroneous_data_value,NULL)) c5029,
          MAX(DECODE(pa_error_nmbr,'5030',prpre.erroneous_data_value,NULL)) c5030,
          MAX(DECODE(pa_error_nmbr,'5031',prpre.erroneous_data_value,NULL)) c5031
        FROM
          pa_error pe,
          pa_error_detail ped,
          pa_request_procedure_run_error prpre
        WHERE
          pe.pa_error_sid     = ped.pa_error_sid
        AND ped.pa_error_sid  = prpre.pa_error_sid
        AND ped.oprtnl_flag   = 'A'
        AND prpre.oprtnl_flag = 'A'
        AND pe.pa_error_nmbr IN ('5013','5014','5015','5026','5027','5028','5029',
          '5030','5031')
        AND ped.aaa_segment_loop_nmbr = '2000F'
        GROUP BY
          prpre.pa_rqst_prcdr_sid
      pvt
    WHERE
      pvt.pa_rqst_prcdr_sid       = prp.pa_rqst_prcdr_sid
    AND ptr.input_acknwldgmnt_sid = ia.input_acknwldgmnt_sid
    AND ia.input_batch_file_sid   = ibf.input_batch_file_sid
    AND ptr.pa_trnsctn_rqst_sid   = pr.pa_trnsctn_rqst_sid
    AND pr.pa_rqst_sid            = prs.pa_rqst_sid
    AND prs.pa_rqst_srvc_sid      = prp.pa_rqst_srvc_sid
    AND pr.oprtnl_flag            = 'A'
    AND prs.oprtnl_flag           = 'A'
    AND ptr.oprtnl_flag           = 'A'
    AND prp.oprtnl_flag           = 'A'
    AND prs.rqst_ctgry_lkpcd      = 'AR'
    AND ibf.original_file_name    = 'HIPAA.165760000.20110613I001.278_IRej.dat';Edited by: Nicosa on Jul 12, 2011 2:20 PM
    Corrected columns aliases in outer query :
    - c5031 instead of 5031
    - c5013 instead of 5013

  • How to reduce the level of free text / direct purchasing

    A common problem at all sites is how to reduce the level of free text / direct / non catalogue based purchasing. This is where users enter an account assignment and free text instead of using an existing material number.
    This is often the case because it is too "dificult" for the user to search and find the correct material number.
    How have other sites handled this?
    has anyone found a solution that if a user enters lets say "paper" into the free text box, a pop up appears with a match on possible materials with the word "paper" in the short description? This sounds like a pretty easy function to implement? Does anyone have the code?
    Cheerio

    >
    Ravi.or.raj wrote:
    > The search function you ask for is pretty much a standard functionality.
    > In ME21N , click on  "Personal Settings"    , and select the check box "int search help on"  .
    Yes this works, but you have to tell that the user has to enter the text  in the material number field, then SAP will search thru the database.

  • How to reduce the  width of  OVS view layout

    Hi All,
           In   ESS-Bank Information-Bank Payee  field we have a  OVS View UI .Can any one please let me know how to reduce the  width of OVI  view layout (Search Screen)
    Regards
    Alex

    Check this [thread|restrict input field size;
    Hope this helps.

  • How to reduce the size of a pdf?

    How to reduce the size of a pdf?

    Not do-able with Reader. Acrobat Pro can reduce PDF file size, but... if it's text only (no media or images) it won't reduce any more than it already is.

  • Web report for opening it takes long time how to reduce the time?

    HI Experts,
    I created report using webi. For next time while opening it takes more time. How to reduce the time.

    Hi Manikandan,
    There could be multiple reason behind the bad performance.
    1. Are you using supported JVM version to run Webi reports?
    2. Do the reports contain prompts? Are the LOVs set to "Automatic refresh before use"? If yes, uncheck it.
    3. How many queries do the report has? Can you run the queries one by one and check which query is taking much time?
    4. If it based on relational database, copy and run it against the database directly and check how much time it takes. If more, you may have to fix the issue at database level like using temporary tables, indices, etc.
    5. Also check if there are firewalls or proxy server between client and server communication. if yes, try to refresh the report directly on BO server and check.
    6. Check if there is any hinderance between BO server and Database server communcation.
    Hope it will help.
    Regards,
    Yuvraj

  • How to reduce the barcode size

    hi
    How to reduce the barcode size in smartforms
    Thanks & Regards
    krishna rao

    Hai,
    Go to se73
    select system barcodes radi button
    click change button
    it wil moves to another screen .In that screen it wil show all Bar codes.
    select u r barcode from the list  click and change button.
    in this way u wil change barcode size.
    Reagards.
    kishore ale

  • How to reduce the database size based on MS SQL/Oracle?

    Hi,
    I had deleted severy clients via SCC5, but the database size is more and more bigger. Do you know how to reduce the database size.
    my platform is: NT, MS SQL 2005
                           NT, Oracle 10.2
    Best Regards,
    Simon Shen

    Hi Simon,
    In the case of SQL you need to check how many space free you have in your datafiles and the based on that you need to Shrink them using DBCC SHRINKFILE command.
    Find a couple of reference docs here,
    http://www.intermedia.net/support/kb/default.asp?id=996
    http://doc.ddart.net/mssql/sql70/dbcc_21.htm
    Also i'm pretty sure that if your check the properties of the datafiles in MSSQL Enterprise Manager you get a "Shrink" option.
    Regards
    Juan
    Please reward with points if helpful

  • How to reduce the silence gap of ringtone made by Garageband

    Garageband will add an extra silence (about 0.05 ~ 0.1 second) on the ending. The extra silence is automatically add on while garageband mixdown the track and send to iTunes.
    Maybe Apple just made garageband to be so, just like the ringtone sold by iTunes store, it has at least a 0.5 sec gap. But that makes the ringtone won't be a perfect loop. So, I'd like to know how to reduce the extra silence that I don't want if there's a solution for this.

    you're right, it appears the behavior of the Cycle function has changed, it is very small, but it's enough to mess up looping.
    you could cut off the excess with an audio editor:
    http://www.bulletsandbones.com/GB/GBFAQ.html#audioeditors
    but being one of the few cellphoneless people in the world, I couldn't tell you how to get the edited file into the phone. perhaps someone in the iPhone forum can give you a tip for getting that final part done?

  • Urgent HELP - How to reduce the number of entries in table MESYBODY?

    Does anyone know how to reduce the number of records in synchronization table MESYBODY and MESYHEAD?  The reason I wanted to reduce these tables is because I believe they have so many duplicated entries that causes extremely slow performance everytime we sync.  Currently, there are almost 50,000 records for approximately 100 users, and I believe it shouldn't be that much. 
    We are running into a problem that it takes approximately 25-30 minutes to sync. 
    Any advices would be highly appreciated.
    Regards,
    Dai

    Hi Dai,
    please try to run the middleware job WAF_MW_MAPPING. For some applications (Mobile Time and Travel for example) this helps to clean the tables.
    Br, alex
    alexander ilg
    http://www.msc-mobile.com

  • How to reduce the the scrool bar size in the Portal screen

    Hello,
    We have recently migrated the EP from 7.0 to 7.3 and after the Upgreade we are facing issue in the Portal screen where the Scroll bar length in the Right Corner side is extended it's size.
    Can any one please let me know where & how to reduce the the size of the scroll bar.
    Since it's a new upgrade i am unable to get the exact parameter to change related to this Scroll bar Setting.
    Kindly let me know.
    With Regards,
    PJ.

    It looks like a custom masthead on FAT? Debug the issue with the browser tools, adapt your source and re-deploy. Does this occurs also on SAP standard framework page?
    regards

  • How to reduce the posted depreciation

    hi,
    i need to reduce the depreciation for the fiscal year 2007-08. Assume that Depreciation amount was posted as Rs.12000.00 in the last fiscal year . Now i want to reduce only Rs.2000.00 in the same year. i.e 31.03.2008. how to reduce the depreciation?
    Actaully if i need to increase depreciation, we are using unplanned depreciation option. like the way i want to reduce the depreciation.
    govind.

    HI,
    You can create a new transaction type which will ahve an impact on increasing asset values.
    the t code to creat transaction type is AO78 and account assignment to be selected is DEBIT transaction instead of credit transaction.
    regards
    Meena Raghu

  • How to reduce the query fetch from TKPROF output?

    Hi,
    Below is my query contains the TKPROF output.Here fetch is too high. How to reduce the fetch from here. And please check the explain plan is good or not?
    SELECT  czci.config_hdr_id,
            czci.config_rev_nbr,
            asoqla.quantity,
             (SELECT
                    node_desc.LOCALIZED_STR
                 FROM   CZ_LOCALIZED_TEXTS node_desc,
                        CZ_PS_NODES ps_nodes,
                        CZ_CONFIG_ITEMS czci1
                WHERE   czci1.config_hdr_id = asoqld.config_header_id
                AND     czci1.config_rev_nbr = asoqld.config_revision_num
                AND    node_desc.INTL_TEXT_ID = ps_nodes.INTL_TEXT_ID
                AND     NVL(node_desc.LANGUAGE,userenv('LANG')) = userenv('LANG')
                AND     czci1.PS_NODE_ID = ps_nodes.PERSISTENT_NODE_ID
                 AND    ps_nodes.DEVL_PROJECT_ID = (SELECT MAX(DEVL_PROJECT_ID) FROM CZ_DEVL_PROJECTS WHERE NAME LIKE 'Control Model')
                AND czci1.PARENT_CONFIG_ITEM_ID IN (SELECT sub_sub.CONFIG_ITEM_ID FROM CZ_CONFIG_ITEMS sub_sub
                                                        WHERE sub_sub.CONFIG_HDR_ID = asoqld.config_header_id
                                                        AND sub_sub.CONFIG_REV_NBR = asoqld.config_revision_num
                                                        AND      sub_sub.PS_NODE_NAME = 'fittings')) fitting_material,
             (SELECT
                    node_desc.LOCALIZED_STR
                 FROM   CZ_LOCALIZED_TEXTS node_desc,
                        CZ_PS_NODES ps_nodes,
                        CZ_CONFIG_ITEMS czci
                WHERE   czci.config_hdr_id = asoqld.config_header_id
                AND     czci.config_rev_nbr = asoqld.config_revision_num
                AND    node_desc.INTL_TEXT_ID = ps_nodes.INTL_TEXT_ID
                AND NVL(node_desc.LANGUAGE,userenv('LANG')) = userenv('LANG')
                AND     czci.PS_NODE_ID = ps_nodes.PERSISTENT_NODE_ID
                 AND    ps_nodes.DEVL_PROJECT_ID = (SELECT MAX(DEVL_PROJECT_ID) FROM CZ_DEVL_PROJECTS WHERE NAME LIKE 'Control Model')
                AND czci.PARENT_CONFIG_ITEM_ID IN (SELECT sub_sub.CONFIG_ITEM_ID FROM CZ_CONFIG_ITEMS sub_sub
                                                        WHERE sub_sub.CONFIG_HDR_ID = czci.CONFIG_HDR_ID
                                                        AND sub_sub.CONFIG_REV_NBR = czci.CONFIG_REV_NBR
                                                        AND      sub_sub.PS_NODE_NAME = 'tubing')) tubing_material
    FROM    aso_quote_lines_all asoqla,
            aso_quote_line_details asoqld,
            cz_config_items czci
    WHERE   asoqla.quote_header_id = 55774
    AND     asoqla.item_type_code = 'MDL'
    --AND     asoqla.org_id = 2763
    AND     asoqla.quote_line_id = asoqld.quote_line_id
    AND     asoqld.config_header_id = czci.config_hdr_id
    AND     asoqld.config_revision_num = czci.config_rev_nbr
    AND     czci.ps_node_name = 'CONTROL MASTER ASLY'
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.04       0.03          0          0          0           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch        3      0.09       0.08          0       5100          0          19
    total        5      0.13       0.12          0       5100          0          19
    Misses in library cache during parse: 1
    Optimizer goal: ALL_ROWS
    Parsing user id: 173  (APPS)
    Rows     Row Source Operation
          3  TABLE ACCESS BY INDEX ROWID CZ_LOCALIZED_TEXTS (cr=2161 pr=0 pw=0 time=32425 us)
         40   NESTED LOOPS  (cr=2158 pr=0 pw=0 time=32276 us)
          3    NESTED LOOPS  (cr=2147 pr=0 pw=0 time=32156 us)
          3     NESTED LOOPS  (cr=925 pr=0 pw=0 time=15885 us)
          3      TABLE ACCESS BY INDEX ROWID CZ_CONFIG_ITEMS (cr=665 pr=0 pw=0 time=13456 us)
       5490       INDEX RANGE SCAN CZ_CONFIG_ITEMS_PK (cr=96 pr=0 pw=0 time=1237 us)(object id 3049621)
          3      TABLE ACCESS BY INDEX ROWID CZ_CONFIG_ITEMS (cr=260 pr=0 pw=0 time=2401 us)
       1094       INDEX RANGE SCAN CZ_CONFIG_ITEMS_PK (cr=19 pr=0 pw=0 time=250 us)(object id 3049621)
          3     TABLE ACCESS BY INDEX ROWID CZ_PS_NODES (cr=1222 pr=0 pw=0 time=16249 us)
          3      INDEX RANGE SCAN CZ_PS_NODES_N12 (cr=1219 pr=0 pw=0 time=16211 us)(object id 750095)
          1       SORT AGGREGATE (cr=1211 pr=0 pw=0 time=16125 us)
        209        TABLE ACCESS FULL CZ_DEVL_PROJECTS (cr=1211 pr=0 pw=0 time=15883 us)
         18    INDEX RANGE SCAN CZ_LOCALIZED_TEXTS_N1 (cr=11 pr=0 pw=0 time=68 us)(object id 31504)
          3  TABLE ACCESS BY INDEX ROWID CZ_LOCALIZED_TEXTS (cr=2161 pr=0 pw=0 time=31499 us)
         40   NESTED LOOPS  (cr=2158 pr=0 pw=0 time=31351 us)
          3    NESTED LOOPS  (cr=2147 pr=0 pw=0 time=31215 us)
          3     NESTED LOOPS  (cr=925 pr=0 pw=0 time=15271 us)
          3      TABLE ACCESS BY INDEX ROWID CZ_CONFIG_ITEMS (cr=665 pr=0 pw=0 time=12441 us)
       5490       INDEX RANGE SCAN CZ_CONFIG_ITEMS_PK (cr=96 pr=0 pw=0 time=1230 us)(object id 3049621)
          3      TABLE ACCESS BY INDEX ROWID CZ_CONFIG_ITEMS (cr=260 pr=0 pw=0 time=2795 us)
       1094       INDEX RANGE SCAN CZ_CONFIG_ITEMS_PK (cr=19 pr=0 pw=0 time=264 us)(object id 3049621)
          3     TABLE ACCESS BY INDEX ROWID CZ_PS_NODES (cr=1222 pr=0 pw=0 time=15920 us)
          3      INDEX RANGE SCAN CZ_PS_NODES_N12 (cr=1219 pr=0 pw=0 time=15863 us)(object id 750095)
          1       SORT AGGREGATE (cr=1211 pr=0 pw=0 time=15753 us)
        209        TABLE ACCESS FULL CZ_DEVL_PROJECTS (cr=1211 pr=0 pw=0 time=15452 us)
         18    INDEX RANGE SCAN CZ_LOCALIZED_TEXTS_N1 (cr=11 pr=0 pw=0 time=79 us)(object id 31504)
         19  TABLE ACCESS BY INDEX ROWID CZ_CONFIG_ITEMS (cr=778 pr=0 pw=0 time=20571 us)
       5816   NESTED LOOPS  (cr=202 pr=0 pw=0 time=8497 us)
         21    NESTED LOOPS  (cr=96 pr=0 pw=0 time=2037 us)
         23     TABLE ACCESS BY INDEX ROWID ASO_QUOTE_LINES_ALL (cr=47 pr=0 pw=0 time=1427 us)
       1058      INDEX RANGE SCAN ASO_QUOTE_LINES_ALL_N1 (cr=9 pr=0 pw=0 time=51 us)(object id 81688)
         21     TABLE ACCESS BY INDEX ROWID ASO_QUOTE_LINE_DETAILS (cr=49 pr=0 pw=0 time=596 us)
         21      INDEX RANGE SCAN ASO_QUOTE_LINE_DETAILS_N1 (cr=28 pr=0 pw=0 time=323 us)(object id 81706)
       5794    INDEX RANGE SCAN CZ_CONFIG_ITEMS_PK (cr=106 pr=0 pw=0 time=1424 us)(object id 3049621)

    Hi
    After affed the exist operator i got below output. But it is more than that the previous one.
    SELECT czci.config_hdr_id, czci.config_rev_nbr, asoqla.quantity,
           (SELECT node_desc.localized_str
              FROM cz_localized_texts node_desc,
                   cz_ps_nodes ps_nodes,
                   cz_config_items czci1
             WHERE czci1.config_hdr_id = asoqld.config_header_id
               AND czci1.config_rev_nbr = asoqld.config_revision_num
               AND node_desc.intl_text_id = ps_nodes.intl_text_id
               AND NVL (node_desc.LANGUAGE, USERENV ('LANG')) = USERENV ('LANG')
               AND czci1.ps_node_id = ps_nodes.persistent_node_id
               AND ps_nodes.devl_project_id = (SELECT MAX (devl_project_id)
                                                 FROM cz_devl_projects
                                                WHERE NAME = 'Control Model')
               AND EXISTS (
                      SELECT NULL
                        FROM cz_config_items sub_sub
                       WHERE sub_sub.config_hdr_id = asoqld.config_header_id
                         AND sub_sub.config_rev_nbr = asoqld.config_revision_num
                         AND sub_sub.ps_node_name = 'fittings'
                         AND czci1.parent_config_item_id = sub_sub.config_item_id))
                                                                 fitting_material,
           (SELECT node_desc.localized_str
              FROM cz_localized_texts node_desc,
                   cz_ps_nodes ps_nodes,
                   cz_config_items czci1
             WHERE czci1.config_hdr_id = asoqld.config_header_id
               AND czci1.config_rev_nbr = asoqld.config_revision_num
               AND node_desc.intl_text_id = ps_nodes.intl_text_id
               AND node_desc.LANGUAGE = USERENV ('LANG')
               AND czci1.ps_node_id = ps_nodes.persistent_node_id
               AND ps_nodes.devl_project_id = (SELECT MAX (devl_project_id)
                                                 FROM cz_devl_projects
                                                WHERE NAME = 'Control Model')
               AND EXISTS (
                      SELECT NULL
                        FROM cz_config_items sub_sub
                       WHERE sub_sub.config_hdr_id = czci.config_hdr_id
                         AND sub_sub.config_rev_nbr = czci.config_rev_nbr
                         AND sub_sub.ps_node_name = 'tubing'
                         AND czci1.parent_config_item_id = sub_sub.config_item_id))
                                                                  tubing_material
      FROM aso_quote_lines_all asoqla,
           aso_quote_line_details asoqld,
           cz_config_items czci
    WHERE asoqla.quote_header_id = 55774
       AND asoqla.item_type_code = 'MDL'
    --AND     asoqla.org_id = 2763
       AND asoqla.quote_line_id = asoqld.quote_line_id
       AND asoqld.config_header_id = czci.config_hdr_id
       AND asoqld.config_revision_num = czci.config_rev_nbr
       AND czci.ps_node_name = 'CONTROL MASTER ASLY'
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.02       0.03          0          0          0           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch        3      0.16       0.14          0      16526          0          19
    total        5      0.18       0.17          0      16526          0          19
    Misses in library cache during parse: 1
    Optimizer goal: ALL_ROWS
    Parsing user id: 173  (APPS)
    Rows     Row Source Operation
          3  TABLE ACCESS BY INDEX ROWID CZ_LOCALIZED_TEXTS (cr=7874 pr=0 pw=0 time=51192 us)
         40   NESTED LOOPS  (cr=7871 pr=0 pw=0 time=50953 us)
          3    NESTED LOOPS  (cr=7860 pr=0 pw=0 time=50729 us)
          3     TABLE ACCESS BY INDEX ROWID CZ_CONFIG_ITEMS (cr=6638 pr=0 pw=0 time=33183 us)
          3      INDEX RANGE SCAN CZ_CONFIG_ITEMS_N1 (cr=6635 pr=0 pw=0 time=33060 us)(object id 31734)
          3       TABLE ACCESS BY INDEX ROWID CZ_CONFIG_ITEMS (cr=6536 pr=0 pw=0 time=22873 us)
       1292        INDEX UNIQUE SCAN CZ_CONFIG_ITEMS_PK (cr=5244 pr=0 pw=0 time=15326 us)(object id 3049621)
          3     TABLE ACCESS BY INDEX ROWID CZ_PS_NODES (cr=1222 pr=0 pw=0 time=17483 us)
          3      INDEX RANGE SCAN CZ_PS_NODES_N12 (cr=1219 pr=0 pw=0 time=17411 us)(object id 750095)
          1       SORT AGGREGATE (cr=1211 pr=0 pw=0 time=17266 us)
        209        TABLE ACCESS FULL CZ_DEVL_PROJECTS (cr=1211 pr=0 pw=0 time=16844 us)
         18    INDEX RANGE SCAN CZ_LOCALIZED_TEXTS_N1 (cr=11 pr=0 pw=0 time=122 us)(object id 31504)
          3  NESTED LOOPS  (cr=7874 pr=0 pw=0 time=48203 us)
          3   NESTED LOOPS  (cr=7860 pr=0 pw=0 time=47973 us)
          3    TABLE ACCESS BY INDEX ROWID CZ_CONFIG_ITEMS (cr=6638 pr=0 pw=0 time=30352 us)
          3     INDEX RANGE SCAN CZ_CONFIG_ITEMS_N1 (cr=6635 pr=0 pw=0 time=30218 us)(object id 31734)
          3      TABLE ACCESS BY INDEX ROWID CZ_CONFIG_ITEMS (cr=6536 pr=0 pw=0 time=20960 us)
       1292       INDEX UNIQUE SCAN CZ_CONFIG_ITEMS_PK (cr=5244 pr=0 pw=0 time=14224 us)(object id 3049621)
          3    TABLE ACCESS BY INDEX ROWID CZ_PS_NODES (cr=1222 pr=0 pw=0 time=17570 us)
          3     INDEX RANGE SCAN CZ_PS_NODES_N12 (cr=1219 pr=0 pw=0 time=17510 us)(object id 750095)
          1      SORT AGGREGATE (cr=1211 pr=0 pw=0 time=17395 us)
        209       TABLE ACCESS FULL CZ_DEVL_PROJECTS (cr=1211 pr=0 pw=0 time=16937 us)
          3   TABLE ACCESS BY INDEX ROWID CZ_LOCALIZED_TEXTS (cr=14 pr=0 pw=0 time=165 us)
          3    INDEX UNIQUE SCAN CZ_LOCALIZED_TEXTS_PK (cr=11 pr=0 pw=0 time=132 us)(object id 3050530)
         19  TABLE ACCESS BY INDEX ROWID CZ_CONFIG_ITEMS (cr=778 pr=0 pw=0 time=41677 us)
       5816   NESTED LOOPS  (cr=202 pr=0 pw=0 time=16173 us)
         21    NESTED LOOPS  (cr=96 pr=0 pw=0 time=3617 us)
         23     TABLE ACCESS BY INDEX ROWID ASO_QUOTE_LINES_ALL (cr=47 pr=0 pw=0 time=2528 us)
       1058      INDEX RANGE SCAN ASO_QUOTE_LINES_ALL_N1 (cr=9 pr=0 pw=0 time=83 us)(object id 81688)
         21     TABLE ACCESS BY INDEX ROWID ASO_QUOTE_LINE_DETAILS (cr=49 pr=0 pw=0 time=1053 us)
         21      INDEX RANGE SCAN ASO_QUOTE_LINE_DETAILS_N1 (cr=28 pr=0 pw=0 time=598 us)(object id 81706)
       5794    INDEX RANGE SCAN CZ_CONFIG_ITEMS_PK (cr=106 pr=0 pw=0 time=8245 us)(object id 3049621)

Maybe you are looking for

  • Using a iMac as display for the Powerbook?

    Can an iMAC computer be used as a display for the Powerbook laptop? Could I use the iMac keyboard plugged into the Powerbook and maybe the iMac mouse as well?

  • HT2534 how can you reset or remove a ipad icloud account when bought off line

    how can i i get past the icloud activation screen / i bought a ipad  2 dont know owner to have them remove the lock screen to get on the main page with apps

  • Need help about get-command

    hi friends i know via Get-command *adapter*, we can list all commands which contain the word "adapter" but how to get the list of all commands which contain the word "net" or the word "adapter" or contain both? thanks

  • Availability Check / Sales Order / Planning Strategy 50

    Hi, the material master has been setup with planning strategy 50. now if i sales order is created. the system directly created planned order for the sales order quantity. Now, there is smtimes a situation that some stock is already present in unrestr

  • How to select first row of JTable by default

    Hi, I have a JTable with 5 rows. When the software starts, none of the rows are selected. I wish to keep the first row selected by default. How do I do it? I couldnt find any method like setSelectedRow() !!! Does anyone have a sample code plz? Thanks