delete extra spaces in the column of the table

How can Hi I remove extra spaces in the column of the table for example if the table column is store as "ÄAAAAA" how to remove this extra space

This is the column I have what it takes to remove extra spaces
select SUBTYPES  from tablesubtype;
am in
Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production
PL/SQL Release 11.2.0.3.0 - Production
CORE Production 11.2.0.3.0
AMT for Solaris: 11.2.0.3.0 - Production Version
NLSRTL Version 11.2.0.3.0 - Production

Published by: adf0994 on 03/12/2012 11:30

Published by: adf0994 on 03/12/2012 11:42
UPDATE tablesubtype
   SET SUBTYPES  = TRIM (SUBTYPES);

RTRIM do it alone will not be enough coz it takes away only right spaces and NOT left those.
I guess in your case do a PLATE will be more advantageous to be safe and avoid left spaces in the future.

For the intermediate spaces... try this.

UPDATE tablesubtype
   SET SUBTYPES  = REGEXP_REPLACE (SUBTYPES, ' ', '');

Hope this helps,
Vanessa B.

Published by: Vanessa B December 3, 2012 14:33
-added regexp

Tags: Database

Similar Questions

  • Get the extra space in the table

    I use af:table for whom

    1. I use the styleclass AFStretchWidth and I put the width to 100%

    2. I'm defining the width of the columns in % (sum of the width of all columns is 100%)

    3. about the table with af:panelCollection and using AFStretchWidth styleclass.

    4. about the table and af: panelCollection with af:panelGrouplayout, the line is vertical and the styleClass is AFStretchWidth.

    And I use the same table 4 cases but I get the extra space that in rare cases. Am I missing something?

    Set columnStretching = "last" or one of the columns will disable the percentage of column widths, this means that if you set the columnStretching = "last" column width table and set = "15%" when running, the column width will be '15px '. If you want to set the column width by the percentage of the columnStretching of the table must on "multiple" as you did.

    So, if you want to set columnStretching = 'last' table, you must set the column width of pixels (width = "120").

    Your page looks ok, you set columnStretching = "multiple" and you set the columns width in percentage but try to remove the width of the table = '100% ' and test again.

  • How can I delete white space at the bottom of the browser on the phone

    There is a blank space at the bottom of the browser on the phone. How can I clear the space?

    Hello

    This problem occurs because of the extra space in the master page footer.

    Please make sure you follow the instructions in the screenshot and this will fix it.

    Concerning

    Vivek

  • Extra space at the bottom

    It's probably something simple, but I can't. Why is there all this extra space at the bottom of the page?

    http://www.aptcoweb.com/dev/EXCBB/

    HI -.

    You have an attribute with a value of 290px min-height in Content1.css (line 129)

    .gridContainer div {

    min-height: 290px;

    }

  • impact of production if I reduce space on the table...

    Hello experts.

    I am running Oracle 11.2 and seen in OEM I have a table that is candidate to shrink the space.
    According to OEM, I can gain 5 G by the decrease in the table.
    The table is 16G, so if I reduce the table, then it should reduce about 11 g, right?
    This table is the primary table used by our application, impact on production is very important.

    Good, then I wonder what is the impact of production on the table while I shrink space on the table.
    I'll test now in my test environment.
    First of all, I found that I had a function based index to be deleted until I can reduce the table.
    So I ran dbms_metadata for syntax to recreate the FBI, then dropped the FBI.

    Then I ran change movement line of table owner.tablename enable;
    Then I ran alter table shrink space cascade owner.tablename;

    While I'm under the table command shrink, I opened another session and I asked the table and even made some updates on the table.
    I was very surprised that the table is not locked and is always accessible for update and select statements.
    In fact, I don't see any noticeable impact of the retractable table command.
    Obviously, I'm not in the production environment with hundreds of simultaneous users, but my question is what kind of impact should I expect see if I have it in production with people hitting this table? (No, this isn't an IOT.)

    Any ideas?

    Published by: 974632 on February 19, 2013 05:54

    NOTE: The command table shrink took: passed: 00:43:17.19
    Re-create the function based index took: passed: 00:00:28.80

    No, the shrinkage is invalid index.

    This means that when you use the CASCADE option, index will be narrowed as much too. When you use shrink, you use the clause 'movement of table XXXX line activate edit' which can cause invalid objects such as triggers or procedures related to the XXXX table.

    Also, if you issue the following statement "alter table  enable/disable row movement;"
    it will invalidate any stored procedure that references that table. But, once you reference that
    invalid stored procedure, Oracle recompiles it

    from: http://asktom.oracle.com/pls/asktom/f?p=100:11:0:P11_QUESTION_ID:35203106066718

  • [JS] Hide extra space in the dynamic Script UI

    When the hide/show sections, I get more space that I don't want. I was not able to understand how to remove extra space.

    There is a post at http://forums.adobe.com/message/3708111 where I have adapted the following simple example. When the section that alternate you power is hidden, you will see there is more space between the text of the first and the second static. There should be less space (as seen between the second and third static text). Any ideas on how to avoid the extra space?

    Thanks in advance.

    Dan

    var NULL_SIZE = [0,0],
         MAX_SIZE = [1000,1000];
    
    var u,
         w = new Window('dialog', 'test'),
         p = w.add('panel'),
         s1 = p.add('statictext', u, "This is a static text"),
         // collapsible group
         g = p.add('group'),
         e = g.add('edittext', u, "Edit your text..."),
         r = g.add('checkbox', u, "Blablablabla"),
         // ---
         s2 = p.add('statictext', u, "This is more static text"),
         s3 = p.add('statictext', u, "This is another static text"),
         b = w.add('button', u, 'Toggle');
    
    g.orientation = 'column';
    
    // Initial state : hidden
    // ---
    g.visible = false;
    g.maximumSize = NULL_SIZE;
    
    // Toggles container's visibility
    // ---
    b.onClick = function()
    {
         g.maximumSize = (g.visible ^=1) ? MAX_SIZE : NULL_SIZE;
         w.layout.layout(true);
    };
    
    w.show();
    
    

    Hi Dan,.

    Maybe you should reset the spacing of g1and work with margins of the subgroups:

    // [...]
    
    p.spacing = 10;
    g1.spacing = 0; // no spacing
    
    var GP_MARGINS = [0,4,0,4]; // left, top, right, bottom
    
    subgroup1.margins = GP_MARGINS;
    subgroup2.margins = GP_MARGINS;
    subgroup3.margins = GP_MARGINS;
    
    // Initial state : hidden
    // ---
    subgroup2.visible = false;
    subgroup2.maximumSize = NULL_SIZE;
    
    // Toggles container's visibility
    // ---
    b.onClick = function()
    {
         subgroup2.maximumSize = (subgroup2.visible ^=1) ? MAX_SIZE : NULL_SIZE;
         w.layout.layout(true);
    };
    
    w.show();
    

    @+

    Marc

  • Extra space after the quotation mark open

    I write fiction. I need to be able to put the dialogue in quotation marks. My problem is that when I ask speech recognition for 'Open-quote' and then start the dialogue, I get an extra space. Like this: "come with me, Jim.

    Does anyone have a solution?

    Hi DennisFoley

    My apologies for not getting back to you sooner, actually I'm surprised that no one else has offered suggestions.

    I've personally never used speech recognition, so I have a question.  I know it's maybe not the right way to "solve" the problem, but you can do it?  When you say quote open or open Double Quote, can you tell us immediately Backspace?

    If I find any useful information, I'll post it here.

    Thank you

    Ken
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Windows 8 is not recognizing the extra space in the hard disk resized

    I was out of the room on the virtual drive of Windows 8 in VMWare Fusion 5.02. I increased the size of the disk in the settings, but when I run Windows, he does not see the extra space. Obviously, I have to leave something out of the process. If you can help me, please let me know what I am doing wrong. Thank you!

    Have you ever increase the NTFS of Windows partition in disk management or you do not see the additional disk space

    André

  • DW still adding extra spaces to the code

    I feel always the question of the DW by inserting extra spaces between each of my lines of code when I get the file from the server.  I put the file with a normal spacing, then I get the same file and it comes with extra spaces.  It's driving me crazy!  I have to re - format each page whenever I have catch the server!  It happens with DW CS3, and a friend told this to happen with DW CS4.  Is there a setting that controls DW of NO change or re-formatting of the files when I get them from the server?  Help, please!

    Try:

    http://www.techiebubble.com/software/how-to-remove-the-extra-spaces-that-appear-in-dreamwe aver.

  • How can I get rid of extra space in the section toolbar?

    There is an empty space between the tabs and the Navigation toolbar. It's the same height that other toolbars and is very annoying. How can I get rid of this space?

    I tried to paste in a screenshot to show what I mean, but he does not accept this form.

    Sorry thought you had placed them both on the same toolbar.
    What you seem to have a bookmarks without all the bookmarks toolbar.

    Make sure you have this check box from the toolbar of bookmarks
    View > toolbars

    Use "Ctrl + B" to bring up the bookmarks in the sidebar.
    You should have three records major 'personal bar' "Bookmarks Menu" and "Unsorted Bookmarks".

    If you have no bookmarks or folders in the 'personal bar' which could be a reason it becomes empty, the other, and the only other one I think is currently possible with Firefox itself is that you have not the wording "Bookmarks toolbar items" in the line when to customize, look for an item marked "Bookmarks" - there are two of these elements you don't want White Star on a black background and menu drop-down, you want the one with a blue symbol on the right side - do - drag it to the bookmarks toolbar, be careful when you sliding it might fall into the wrong toolbar.

    If it does not use the "Restore Default Set" and then you will have to re - customize your toolbars (but you placed a photo here that you could work towards).

    See the image at http://kb.mozillazine.org/Toolbar_customization_-_Firefox
    to then customize with "Bookmarks Toolbar Items" display of the toolbar.]

    My own customizations seen in this image

    are described in the following text

    You can make Firefox 4.0.1 and Firefox 5.0 resemble Firefox 3.6.17, see numbered 1 to 10 in the next topic difficulty Firefox 4.0 UI toolbar, problems (make Firefox 4.0 look like 3.6)

    most of the major changes style as color borders around the tabs for the State and the bookmarks with folders blue and red bar favorites are in the positions of style # 41-45 (46 if you have several profiles).

  • Delete extra spaces in a text table

    Hello-

    I'm trying to insert a table of 2-column 10 (I think) ranks so I can split a long list on my site.

    I have the table in and tried everything for most of the day to get the useless space of white between each deleted row. But I'm not having any luck.

    Could someone help me please? I'm fairly new to dreamweaver (using CS4) and may not even be provide you with what you need. I read a lot of messages, so I think that you need the code for the table:

    < table width = "100%" border = '0' summary = "A list of potential items for embroidery you can give as gifts to others or to yourself!" >

    < caption >

    < / legend >

    < b >

    < td valign = "top" > < div align = "left" >

    < ul > < li > afghans Keepsake < /li > < /ul > < / div > < table >

    < td valign = "top" nowrap = "nowrap" > < div align = "left" >

    < ul > < li > baby blankets < /li > < /ul > < / div > < table >

    < /tr >

    < b >

    < td valign = "top" > < div align = "left" >

    < ul > < li > towels, sheets, napkins < /li > < /ul > < / div > < table >

    < td valign = "top" nowrap = "nowrap" > < div align = "left" >

    < ul > < li > baby, bibs, clothing and hats < /li > < /ul > < / div > < table >

    < /tr >

    < b >

    < td valign = "top" > < div align = "left" >

    < ul > < li > tablecloths < /li > < /ul > < / div > < table >

    < td valign = "top" nowrap = "nowrap" > < div align = "left" >

    < ul > < li > baby bedding < /li > < /ul > < / div > < table >

    < /tr >

    < b >

    < td valign = "top" > < div align = "left" >

    < ul > < li > Gym wear, jackets, coats and jackets < /li > < /ul > < / div > < table >

    < td valign = "top" nowrap = "nowrap" > < div align = "left" >

    < ul > < li > tissue flange or a womanizer < /li > < /ul > < / div > < table >

    < /tr >

    < b >

    < td valign = "top" > < div align = "left" >

    < ul > < li > housewarming and kitchen items < /li > < /ul > < / div > < table >

    < td valign = "top" nowrap = "nowrap" > < div align = "left" >

    < ul > < li > Heirloom, birthday or afghans marriage < /li > < /ul > < / div > < table >

    < /tr >

    < b >

    < td valign = "top" > < div align = "left" >

    gifts of closing < ul > < li > real estate agent for customers < /li > < /ul > < / div > < table >

    < td valign = "top" nowrap = "nowrap" > < div align = "left" >

    < ul > < li > religious linens and liturgical vestments < /li > < /ul > < / div > < table >

    < /tr >

    < b >

    < td valign = "top" > < div align = "left" >

    < ul > < li > grandparents featured Gifts < /li > < /ul > < / div > < table >

    < td valign = "top" nowrap = "nowrap" > < div align = "left" >

    < ul > < li > drapery fabric family tree < /li > < /ul > < / div > < table >

    < /tr >

    < b >

    < td valign = "top" > < div align = "left" >

    stage of < ul > < li > team covers < /li > < /ul > < / div > < table >

    < td valign = "top" nowrap = "nowrap" > < div align = "left" >

    < ul > < li > handbags, bags and panniers < /li > < /ul > < / div > < table >

    < /tr >

    < b >

    < td valign = "top" > < div align = "left" >

    < ul > < li > coach and teacher Gifts < /li > < /ul > < / div > < table >

    < td valign = "top" nowrap = "nowrap" > < div align = "left" >

    < ul > < li > uniforms Business < /li > < /ul > < / div > < table >

    < /tr >

    < b >

    < td valign = "top" > < div align = "left" >

    dance, gymnastics, and < ul > < li > uniform Team Sports < /li > < /ul > < / div > < table >

    < td valign = "top" nowrap = "nowrap" > < div align = "left" >

    < ul > < li > Karate Gi and belt < /li > < /ul > < / div > < table >

    < /tr >

    < b >

    < td valign = "top" > < div align = "left" >

    < ul > < li > caps and visors < /li > < /ul > < / div > < table >

    < td valign = "top" nowrap = "nowrap" > < div align = "left" >

    < ul > < li > colors Motorcyle < /li > < /ul > < / div > < table >

    < /tr >

    < b >

    < td valign = "top" > < div align = "left" >

    < ul > < li > dog coats and collars for pets < /li >

    < /ul >

    < / div > < table >

    < td valign = "top" nowrap = "nowrap" > < div align = "left" >

    school uniforms < ul > < li > < /li > < /ul > < / div > < table >

    < /tr >

    < /table >

    There is a list unordered under my table in case I can't understand the table - I'll go back to the unordered list.

    The Web page is: embroidery

    Thank you in advance for any help you can provide!

    Paige Davis

    Hi John -.

    Thank you for your response. However, I placed the line of code that you answered me with in three different locations at the beginning of the table. None of them worked. Can you be more specific please?

    Thank you!

    Paige

  • LOV in richeTableau resets the value after the deletion of rows from the table

    Hello. I'm on 11g R2

    I have a table with columns in the box and a button in the toolbar that removes the lines checked

    I have build it based on the following article in her string code

    http://www.Oracle.com/technetwork/developer-tools/ADF/learnmore/index-101235.html


    When I run the "delete" button I execute the following code (taken as is article)


    public void deleteSelectedRows() {}

    create a second line, the value do not affect all lines

    used in ADF

    Set of rows duplicateRowSet = this.createRowSet ("duplicateRowSet");

    first row to avoid "the attempt to access the value of lines."

    exception line was dead.

    duplicateRowSet.first ();

    retrieve the current row of the table for after

    re-running the VO

    Line currentRow = this.getCurrentRow ();

    Boolean currentRowDeleted = false;

    get all rows that have the transoent attribute

    "MarkForDelete' set to true

    Row [] rowsToDelete =

    duplicateRowSet.getFilteredRows ("MarkedForDelete", true);

    If (rowsToDelete.length > 0) {}

    run only throizgh this code, if there is something to

    delete

    for (line rw: rowsToDelete) {}

    If the row is marked as the current in VO, ts value

    Boolean flag

    If (rw.getKey () .equals (currentRow.getKey ())) {}

    currentRowDeleted = true;

    }

    remove the line - do not yet commit

    RW. Remove();

    }

    rerun VO

    this.executeQuery ();

    reset the current line if it has not been removed

    If (! currentRowDeleted) {}

    this.setCurrentRow (currentRow);

    }

    duplicateRowSet.closeRowSet ();

    }

    }

    "MarkedForDelete" is a transient attribute used to mark the line delete

    The lines are removed very well.

    The problem is with lines that I do not delete.

    For example I LOV column. I chose the value LOV in a few lines, and after that choose to delete several lines (not the same lines where I modified the LOV) but some other lines.

    After I click "delete", the lines that I marked to remove deleted indeed, but the value of the LOV in other rows (I have not scored for delete) are disabled.

    How to preserve value LOV so it will remain also after I deleted some lines?

    P.S. I've tried autosubmit = "true" - it did not help

    It is expected because I see that you rerun the query.

    Once you re - run, it retrieves from the database again. Thus, your values are lost because they are not posted.

    I don't think that run query is necessary, try to have a programmatic part trigger on the table after you remove all of the lines.

    Thank you

    Alisson.

  • white space between the tables

    Hello

    I do an annual report and there is a lot of financial tables. I have 60 paintings and I need to align the tables vertically so that the white space between each table is exactly the same. So far I did it manually. I'm sure there is a better way to do it but I just have not found the way yet. My first thought was to do a 'parent' table with X rows and one column. So I put my child tables in the parent table and use a "row of the spacer" exactly the mm X I tried this but it really complicates things

    Then I tried 'space after' in the properties of the table, but I can't understand what this attribute.

    In other words, I would like that the vertical space between table 1 and table 2 is always exactly 5 mm of the force. How is that possible?

    I would like some inputs/best practices.

    / Best regards

    Thomas Lund

    Your table is placed in a paragraph.  Create a paragraph style that contains that space after that you want between the tables, and then apply that style to all paragraphs that contain tables.  That should give you exactly the spacing between your tables in the flow of the text.

    This will not work unless you are running off the paintings together in a story (which I recommend).

  • How to view the spaces in the table of the ADF

    I created the View Oracle object with the following query
    CREATE OR REPLACE FORCE VIEW Emp_View
    (
       Employee_ID,
       Employee_LEVEL,
       Employee_Name
    )
    AS(
      SELECT Employee_ID,
                   LEVEL,
                   LPAD (' ', 3 * LEVEL - 1) || FIRST_NAME   FIRST_NAME
                  FROM Employees
        CONNECT BY Employees.Employee_Id = PRIOR Employees.Manager_Id
    )
    the view is displayed like this

    http://ImageShack.us/photo/my-images/825/hrview.jpg

    I created object of reading view only based on Emp_view and I created this display object ADF table.
    When I ran the page that contains the table I found that
    (01) ADF remove spaces before the first name.
    (02) when I'm looking for Nick for example it returns no rows as it has so I need 2 spaces before it in the view object

    display table in the page as the view in the database object.
    When I search for Nancy for example return any field containing Nancy ignoring spaces before the name
    I need to do this without changing the view in the database object.

    I use Jdeveloper version 11.1.1.6

    User,

    Try to add the property inlineStyle with the value "white-space: pre; ' to the outputText.

    Sample:

    
    

    Jean Lou

  • Calculate the free space of the table.

    Hello, I have several large tables in my DB 9i.

    After cleaning a lot of old data, I need to know how much space can be retrieved in the DB of relocation and reconstruction.

    Can you please a provide a query to calculate?

    Thank you in advance.

    Collect statistics before executing the query.

    SELECT table_name, ALL the ((blocks * 8), 2) / 1024 | "Mo" 'size of the Table. "
    ROUND ((num_rows * avg_row_len/1024), 2) / 1024
    || "Mo" 'actual data size. "
    PCT_FREE,
    ROUND ((blocks * 8), 2) / 1024
    -(ROUND ((blocks * 8), 2) * pct_free / 100) / 1024
    -(ROUND ((num_rows * avg_row_len/1024), 2)) / 1024 "MB_Free_Space."
    FROM dba_tables
    WHERE TOWER ((blocks * 8), 2)
    -(ROUND ((blocks * 8), 2) * pct_free / 100)
    -(ROUND ((num_rows * avg_row_len/1024), 2)) > 0 and owner = 'SCHEMANAME. "
    ORDER OF ROUND ((blocks * 8), 2)
    -(ROUND ((blocks * 8), 2) * pct_free / 100)
    -(ROUND ((num_rows * avg_row_len/1024), 2)) / / DESC;

    Concerning
    Asif Kabir

  • Maybe you are looking for