How to remove fragmentation in a table?

How to find fragmentation in a table?
How to remove fragmentation in a table?

Hi,
sa_index_density --gives the density of stored procedure.
sa_table_fragmentation-- degree of fragmentation in stored procedure table.
REORGANIZE THE TABLE -- DOES NOT DISTURB THE DATABASE ACCESS
REBUILD DATABASE -- DEFRAGMENTS ALL TABLES, INCLUDING SYSTEM TABLESPACE.
Regards,
Nirmal([email protected])

Similar Messages

  • How to remove space below the table in smartforms

    how to remove space below the table in smartforms

    maintain a loop counter for item say count
    and in text editer write
    if count > 6
      new-page.
    endif.

  • WebDynpro Java: how to remove blank element from Table and Dropdown.

    Hi  Folks
    In a webdynpro application,
    I created a table and witten the below code to populate the table
         IPrivateDummyView.IFirst_TableElement First_Table_Element = null;
         First_Table_Element = wdContext.nodeFirst_Table().createFirst_TableElement();
         First_Table_Element.setF_Value("One");
         wdContext.nodeFirst_Table().addElement(First_Table_Element);
         First_Table_Element = wdContext.nodeFirst_Table().createFirst_TableElement();
         First_Table_Element.setF_Value("2");
         wdContext.nodeFirst_Table().addElement(First_Table_Element);
    As per the code, i got 2 row in the table.
    But , i have one Empty row on top of the table ,  how to get ride of this.
    i find the same problem happening with dropdown too, where i used DDBI, i populated a the content as mention, but i initial 2 row as blank and then i have my own elements ,as per my code.

    >
    > how to remove blank element from Table and Dropdown
    >
    Change selection property of related node to from 0..1 to 1..1 (mandatory)
    Re: DropdownByIndex and empty line (Thread: DropdownByIndex and empty line )
    Re: Can the empty selection be removed from element dropdownbykey(Thread: Can the empty selection be removed from element dropdownbykey )
    Edited by: Anagha Jawalekar on Nov 18, 2008 10:28 PM

  • How to remove multiple rows from table

    Hi All,
    in my application iam using two tables,
    this is my code
    int selection = wdContext.nodeA().getLeadSelection();
    String num = wdContext.nodeA.geAAt(selection).getV_Num();
         for(int b=0;b<wdContext.nodeVn_Context().size();b++)
                                                      if(wdContext.nodeVn_Context().getVn_ContextElementAt(b).getVa_num().equalsIgnoreCase
                                                      (num))
                                                           wdContext.nodeVn_Context().removeElement(wdContext.nodeVn_Context().getVn_ContextElementAt(b));
    here Vn_Context is having 4 rows, i mean size of Vn_Context is 4. when i use this code to remove that 4 rows based on the condition, which i gave in if, its able to remove only one row, so how to remove those four rows,  is this code correct or not, please help me.

    Hi sushma,
    if you have 4 row then why should you give the condition for removing rrow..because when you gave condition the depends on your lead selection of getVa_num().so you will return perticullar row of getVa_num(). value of lad selection ..this would not match of other row value(getVa_num().so it will remove only that value of lead selection of getVa_num().
    better you remove taht condition.
    int selection = wdContext.nodeA().getLeadSelection();
    String num = wdContext.nodeA.geAAt(selection).getV_Num();
    for(int b=0;b<wdContext.nodeVn_Context().size();b++)
    //if(wdContext.nodeVn_Context().getVn_ContextElementAt(b).getVa_num().equalsIgnoreCase
    //(num))
    wdContext.nodeVn_Context().removeElement(wdContext.nodeVn_Context().getVn_ContextElementAt(b));
    no need to give the condition right now..
    if you want to remove multiselection row,i mean selected row for multiple then you select the row as per your  rows delete.
    for(int b=0;b<wdContext.nodeVn_Context().size();b++)
    if(lead==b || wdcontext.nodeVn_Context().isMultiselection(b){
    wdContext.nodeVn_Context().removeElement(wdContext.nodeVn_Context().getVn_ContextElementAt(b));
    this way you do solve your problem..
    thanks
    jjati

  • How to remove default value from table definition?

    Hi,
    running 9.2
    Following problem :
    I need to remove default value from table.
    Example
    CREATE TABLE MY_TABLE(
    NAME VARCHAR2(50) DEFAULT 'NAME',
    AGE NUMBER DEFAULT 0
    Now even when I use MODIFY like
    ALTER TABLE MY_TABLE MODIFY (NAME VARCHAR2(10) );
    The default is still there:
    SELECT DATA_DEFAULT FROM USER_TAB_COLUMNS WHERE TABLE_NAME = 'MY_TABLE';
    Is there any way?
    Thanks

    Thanks,
    found the answer. It is not possible!!!!
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_3001.htm
    Note:
    If a column has a default value, then you can use the DEFAULT clause to change the default to NULL, but you cannot remove the default value completely. That is, if a column has ever had a default value assigned to it, then the DATA_DEFAULT column of the USER_TAB_COLUMNS data dictionary view will always display either a default value or NULL

  • How to remove footer space in Table

    I have created a table in main window. after creating main area section, the footer section is appearing as an empty at the bottom. I tried to remove this space by giving zero height to the footer height, but the value is not accepted by the system. How can I remove the space created by the footer?
    rajan

    Hi Rajan,
    Can you please tell me how did you solve this problem ?
    I am facing the same issue in smartforms.
    Regards,
    Nitin.

  • How to remove wagetype from RT table in PCR

    Hi,
    I have one custom wagetype 3910 which is already created in RT table. There is a scenario, if one condition comes, we need to delete the wagetype from RT table. Could anyone please let me know how we could delete the wagetype?
    I know ADDWTE* is used to add the wage type in RT table.. but now I need to delete this.
    Kindly suggest.
    Saurabh
    Note:- I somehow able to change the amount of the wagetype to  0, however now the 0 amount wagetype would get created which I want to remove.

    Hi,
    If do you want store the wage type in RT table we have to use the operation ADDWTE.
    If you donot want store the wage type in RT table we have to use the operation ADDWT * it will store in output table, if do want store in input table use the operation ADDWTI.
    If you use ADDWTL wage type store in Results table last payroll.
    Otherwise use the 20 processing class to your wage type.
    Good luck
    Devi

  • How to Remove Sort State in Table after display it in Table

    Hi
    I use the method below to sort the columns before displaying to the user and it works okay
    FieldKey testKey = new FieldKey("testField");           
                FieldKeySortCriteria testCriteria = new FieldKeySortCriteria(portCodeKey, true);
                this.getRowRecord1().addSort(testCriteria);the problem is in every rows i have edit button where user can edit and update particular row.
    the problem occurs whenever user change the value for particular field that is being sorted the row will jump randomly according to the sort rules.
    My Question is , how can we remove or disabled sorting as soon user see the result so it wont be jumping around if user changed the value of particular field that is being sorted.
    i dont find any removeSort() function in Rowgroup
    is there another way??
    Thanks

    i tried to put
    rowGroup.clearSort() in my Destroy() Method but is not disabling the current state of my rowgroup
    what it does is the moment i click edit button for particular row
    that row will jump to some other page ( because i did pagination on my table ) because the sort has been cleared .
    How do i clear and use the current state of my rowgroup after it has been displayed.

  • How to remove Heading 4 from Table Of Contents

    HI,
    how can i remove Heading 4 from the Table Of Contents in Word 2007?
    I needed to create the Heading 4 (built in themes only go to level 3) by myself (it was very complicated) but finally managed to get it to work. 
    The problem is that when i view the properties of my theme it has the following attributes:
    Font: Not Bold, Indent: Left:  1,9 cm, Hanging:  1,14 cm, Space Before:  6 pt, Style: Linked, Quick Style, Based on: Heading 3
    The built in themes however have it different:
    Indent: Left:  1,27 cm, Hanging:  0,89 cm, Level 3, Style: Linked, Quick Style, Based on: Heading 2, Following style: Indryk3
    There is a parameter called "Level"which my theme does not have. When i create the Table Of Contents and set "Show levels" to 3 then it will display FOUR levels (three built-in and my Heading 4).
    Please help. How to get the "Level" parameter to appear for my theme as well?

    Hi
    Thanks for your answer. The only invisible character is the section break thing at the very top of the blank page. I can't figure out how to place it directly after the Table of contents. If I remove the section break, the Table of Contents merges with the following section, which is not what I want at all.

  • How to remove leading zeros in Table in Pages

    I have a table where I need to enter decimals into a table in Pages and it keeps adding the 0 before the decimal and I cannot figure out how to make that stop. I need to be able to enter .54 and not have it change it to 0.54. Any help would soooooo appreciated!!
    Thanks

    You're welcome.
    Sorry to hear y'all in the States are doing it so bad that there's nothing in front of the decimal place!
    Peter

  • PO Stylesheet How to remove space between two tables

    Hi
    I am building a rtf template for PO output for communication report in r12,there is a terms and conditions part and total amount part which comes at bottom of every page of the report. I have created that as a template and i call it in the footer.
    The problem is there is always a gap between the lines table and the terms & conditions and total table,any idea's on how to resolve this issue will be very helpful.
    Please let me know if any other input is required from my side.
    Thanks in Advance

    Are you trying to have the table where the lines are always be the same size no matter how many lines are present?
    If so, you some choices:
    1) If your lines are always the same height, you might get some ideas on what to do from this article:
    http://oracle.anilpassi.com/xml-publisher-developing-reports-printed-on-pre-printed-stationary.html
    2) If your lines vary in height, then you should look into a PDF template. This will give you a pre-printed stationary look in which the drawing of boxes and lines is not affected by the data content.
    3) Other less attractive options are a) making the report in XSL-FO, and b) making a bitmapped RDF report
    There is currently no solution that I am aware of for a pre-printed stationary look using an RTF template in which the data lines are of variable height.

  • How to remove lead selection in table dynamically

    I have a table in webdynpro which allows multiple selections of row. I have a button which is supposed to be clicked after selecting single or multiple rows. After clicking on the button I want to remove the lead selection of the  selected rows (which is shown in golden color for each selected row) .
    I tried REMOVE_SELECTED ELEMENTS and it works fine but only if i select the row by pressing CTRL. If i had selected a single row by just a mouse click (without ctrl) then it wont work.
    THANKS

    Hallo Amber,
    If_wd_context_node has static attribute no_selection. use that to clear the lead_selection_index.
    node->set-lead_selection_index(  if_wd_context_node=>no_selection ).

  • How to remove paragraph breaks from table cells?

    I need to remove paragraph breaks from selection of cells in my table and replace them with a space and a dot.
    Tried this and it did not work:
    =SUBSTITUTE(AH2,CHAR(10)," .")
    I also tried to use find and replace, but it didn't work either.
    Any ideas?

    Berbato wrote:
    I need to remove paragraph breaks from selection of cells in my table and replace them with a space and a dot.
    Tried this and it did not work:
    =SUBSTITUTE(AH2,CHAR(10)," .")
    Did you read the error message returned by the app ?
    I also tried to use find and replace, but it didn't work either.
    I'm sure that you didn't inserted the correct value in the "Find/Search" field but I can't guess what was the one which you inserted ? .
    I selected the character to replace, Copy it then pasted it in the Find/Search field.
    Yvan KOENIG (VALLAURIS, France) jeudi 27 janvier 2011 17:46:44

  • How to remove foreign key from table?

    i want a query from which i will remove foreign key from the table. plz help me in it. the table is created as follows:
    CREATE TABLE cw06_course
         (coursecode NUMBER(4) CONSTRAINT coursecode_pk PRIMARY KEY,
         department NUMBER(4) CONSTRAINT course_department_nn NOT NULL,
         coursename VARCHAR2(25),
         courseleasder NUMBER(4),
         CONSTRAINT course_department_fk FOREIGN KEY (department) REFERENCES cw06_department(deptno));

    parent keys not foundWell, while the constraint was not available (dropped), someone took the opportunity and inserted rows into your child table that do not have a corresponding value in your parent table.
    Why was the constraint dropped in first place? why did you give someone the opportunity to insert constraint violating value into the table?
    You must either:
    1). remove the child rows not found in parent
    2). create parent rows fr missing child rows.
    3). enable novalidate the constraint so existing values can remain without parent but future rows must confirm.

  • How to remove werid character from table

    Hi all,
    My db version as below:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, Real Application Clusters, OLAP, Data Mining
    and Real Application Testing options
    May i know anyone has experienced in removing weird characters (non-A-Z, 1-10,) from table? I would like do data cleansing that to remove all weird char/ funny char from rows.
    Thanks a lot.
    Lygine

    Hi ...
    Is there any possible that data able to automatically converted into German e..g
    Nürnberg = NÜrnberg.
    There are large volume of french or german data as of below:
    Vösendorf
    Würenlingen
    I still find no way that i can have bulk conversion for those weird data.
    Is there anyone got idea about it?
    Thanks,
    Lygine

Maybe you are looking for