Remove the spaces between two many a varchar2

Hello world

I have a question of respect to remove the spaces of a varchar2.

The varchar2 is 7987451 1234567' and I need this string as 7987451 1234567', because the field has a length of 15.

I try with cela, but does nothing

Select TRIM (7987451 1234567') of double

Other possibilities are finding several spaces and try to replace it with a single, but would be a heavy work (maybe with phrases in a loop).

This problem is now in our process of loading.

There is a function to replace the spaces between the numbers of varchar2?

Thank you!

Kind regards
Daniel Hidalgo

Like this?

SQL> ed
Wrote file afiedt.buf

  1  select regexp_replace('7987451            1234567',' +',' ') as new_val
  2* from dual
SQL> /

NEW_VAL
---------------
7987451 1234567

Tags: Database

Similar Questions

  • Need to remove the spaces between each words

    Hi guys,.

    I need to remove the spaces between each word. I'm doing this because I want to compare a column with a value.

    For ex: named - description "Negotiate APR - current balance" should be replaced by "NegotiateAPR-currentbalance.

    All can help me out here to achieve. Your timely help is well appreciated.

    Thanks in advance.

    WITH t AS (SELECT '"Negotiate APR - current balance"' str FROM DUAL)
    SELECT REPLACE (str, ' ') str
      FROM t;
    

    gives: "NegotiateAPR-currentbalance.

    Is that what you want...? If this isn't the case, please give some examples.

    See you soon,.

    Manik.

  • Need to remove the space between < af:panelGrouplayout > and < af:panelBox >

    Hi all

    I use JDeveloper 11.1.1.6.

    My scenario is I need to stretch some fields for all browsers, so I use Panel box inside the < f: facet center = name > panelStretchLayout.

    It works very well. But some scenarios need to display the header above the group box elements. Then I try to add panelGroupLayout in < f: facet = top name >. It is stretching very well, but is always to show space between < af:panelBox >.

    How can I remove the space between < af:panelGroupLayout > and < af:panelBox >?

    My Codes like this,

    < af:panelStretchLayout id = "PSL1" inlineStyle = "" margin-top: 30px; ">"

    < f: facet = 'top' name >

    < af:panelGroupLayout id = "pgl4" layout = "vertical".

    inlineStyle = "" background-color: red; ">"

    < af:panelGroupLayout layout = "horizontal" id = "pgl1" >

    < af:outputText value = 'Day' id = "ot1" / >

    < af:outputText value = "Week" id = "ot2" / >

    < af:outputText value = 'Months' id = "ot3" / >

    < af:outputText value = 'Year' id = "ot4" / >

    < / af:panelGroupLayout >

    < / af:panelGroupLayout >

    < / f: facet >

    < f: facet name = "center" >

    < columns af:panelDashboard = rowHeight '1' = "100%" id = "pd1" >

    < af:panelBox id = "pb1" showDisclosure = "false".

    showHeader = "never" > < / af:panelBox >

    < / af:panelDashboard >

    < / f: facet >

    < / af:panelStretchLayout >


    Thank you...

    Same answer as your other thread need to hide the space between &

    Use firebug to see if a style is the cause because it is not reproduced.

    Timo

  • remove the space between the divs

    Hi people,

    Is it possible to remove the space between my fluid layout divs? This is the page: http://primerestaurant.co.nz/new/queenstownfood.html and this is what it looks like in my Dreamweaver workspace: http://i.imgur.com/81Hdjb0.png

    I want to bring the menu div and text until you reach the divs, address and picture. There is no fill (that I can see) or the margins, which would be keep so far.

    Thank you in advance for advice.

    JO

    Add this to the top of your text.css file:

    * {

    margin: 0;

    padding: 0;

    -moz-box-sizing: border-box;

    -webkit-box-sizing: border-box;

    box-sizing: border-box;

    border: 1px dotted Red; / * for test purposes * /.

    }

    It tells me that the content is pushed to the bottom of the EasyRotator element.

    Nancy O.

  • Remove the space between form elements

    I am trying to remove all the space between these two elements so that they are touching, but may not know how. Anyone out there who can understand?
    Thank you!
    Boybles

    < cfform method = 'get' name = 'TestPanel"preloader =" "format ="flash"height ="210"width ="300"skin ="haloblue">
    < cfformgroup type = "vertical" style = 'verticalGap:0; indicatorGap:0; ">
    < cfformgroup type = "vbox" width = "200" height = "90" visible = "Yes" enabled = 'Yes' style = "cornerRadius:15; borderStyle:roundCorners; borderThickness:1, backgroundColor: # E5E7F E; ">
    < cfformitem type = "text" > Test < / cfformitem >
    < cfformitem type = "text" > Panel < / cfformitem >
    < / cfformgroup >
    < cfformgroup type = "vbox" width = "200" height = "90" visible = "Yes" enabled = 'Yes' style = "cornerRadius:15; borderStyle:roundCorners; borderThickness:1, backgroundColor: # E5E7F E; ">
    < cfformitem type = "text" > Test < / cfformitem >
    < cfformitem type = "text" > Panel < / cfformitem >
    < / cfformgroup >
    < / cfformgroup >
    < / cfform >

    Ok... I thought about it. Very unlikely solution... Since the margins and indicatorGap had either no effect or had side effects. If you put a non-visible cfformgroup with negative height, it will take an unwanted space. Although I have not seen many people use it that way. Here is the example above is resolved:



    Test
    Group of experts




    Test
    Group of experts


  • Remove the spaces between the css attributes?

    Hello! I know that I can customize my preferences to 'apply the updated source shaped', but it is automatically added to spacing to the attributes of the tag and I don't see a way to change this in the options I give. I want to write my code without spacing in the attributes. Believe it or not, it is easier on my eyes in this way.

    That's what I prefer:

    whatever {width: 40%; height: 25% ;}}

    If I use source formatting, it does this:

    whatever {width: 40%; height: 25% ;}}

    If I can't change this behavior in the settings, not much, but I want to assure you that I have not just miss.

    Thank you!

    You don't miss anything.  DW uses conventional spaces between the CSS attributes.

    You can shrink your CSS code at the end of the project.  That will remove the spaces and line breaks.

    Nancy O.

  • How to reduce the space between two lines in a panelformlayout who is lain in the panelbox?

    Mr President.

    I have a panelbox in which I put a panelformlayout which have two rows as below

    panelformspace.png

    I want to reduce the space between inputfield first and second inputfield.

    Thus, this second inputfield closer to the first inputfield

    Respect of

    You can define simple = true in the first entry field (name), sorround who on the ground with panelLabelAndMessage and add the second inputField (address) about to end of panelLabelAndMessage.

    In fact, you can add more or less space with spacer between them and panelGroupLayout with horizontal layout as a facet of the end child

  • How to remove the spaces between the textfield in a horizontal layout - ADF Mobile

    snip.png

    Please tell me how to reduce the width of the 1st two textfields whose number of 971 and 50 and increase the width of the textfield "mobile".

    My code is given below

    < amx:panelGroupLayout id = "gp1" layout = "horizontal" >

    < amx:inputText value = "971" hintText = "Country Code" id = "it3" inputType = 'number' simple = "true" inlineStyle = "width: 70% margin-left: 5px" / >

    < amx:inputText value = "50" hintText = "Code" id = 'it8' inputType = 'number' simple = "true" inlineStyle = "width: 70% of margin-left: 5px" / >

    < amx:inputText value = "#{pageFlowScope.mobile_number}" hintText = 'Mobile' id = "it6" inputType = 'number' simple = "true" inlineStyle = "width: 100%" / > "

    < / amx:panelGroupLayout >.

    Width of the 1st two fields should very less that we will get that 2 or 3 numbers. Where are mobile, the width must be more as we enter the 10 numbers.

    This means that for example alignment must be as shown in the picture below. And the space between them must be equal and uniform as shown in the image below.

    pic.png

    Please help me someone

    Try using rowLayout as:

    
          
            
          
          
            
          
          
            
          
    
    
  • The space between two different paragraph style

    Hello!

    I'm working on a book, and I would like to first of all a standard space between two paragraph styles.

    I have the paragraph of text and the reference point. I would like to put an extra space when a paragraph of text is followed by a reference point and vice versa.

    I usually do it in html with CSS, it's like

    p.text + p.citation {pad-bottom: 5px;} 
    

    My goal is to have a space between the text and citations, even if citations are multi point (and of course, without any paragraph empty additional)

    Is this possible?

    concerning

    Lila

    You probably need to two additional styles to represent the paragraph "first" that uses the text or styles of citation, with spacing before added, and text or reference style defined as following Style, like matches, for each, so that you can use for the first paragraph after a change. You can base teas on current styles and just add space.

  • Remove the space between several clips at once, on the timeline?

    Is there a way to delete the space between multiple clips on the timeline in one click?

    I adjust clips on the timeline, so I can have a few hundreds of clips with a space between the timeline.  Is there a way to delete all spaces between the clips at once?

    Now, I have the ripple delete space between each clip, big hassle and a lot of key strokes. Is there a faster way to adjust the clips in general?  Or remove spaces in the timeline?

    Untitled-1.jpg

    Have you seen Gap removal of Ann Bens TUTORIAL?

    Good luck

    Hunt

  • Remove the space between the items in list box

    Hello

    I have a list box, I need to change the space between each item in the drop-down list.

    (ex)

    test

    Test1

    test2

    I need it to change the space between the test and vice versa test1.

    Kind regards

    Roman papail

    You must specify the list control rowHeight for example

                                  
    

    If this post answers your question or assistance, please mark it as such.

  • Remove the space between the title and the content

    Does anyone know how to remove or reduce empty space between the header content and written in the body?  My position is only 22px but always creates a huge gap or empty space above and below.  I don't know if you need this little information but I also insert an image of a horizontal line after the title that is normally as underscore.  I don't think it makes a difference, but can you please, please, please help by providing a code?  Thank you.

    Looks like the margins of default browser for me.

    Try to add to your CSS.

    H4 {margin-bottom: 0}

    p {margin-top: 0}

    Nancy O.

  • Can I remove the spaces between Booleans in table 2D?

    Hi all

    I created a table 2D Boolean buttons. But there are still spaces between the 2 buttons (see picture below). I want my buttons are near others. I tried the custom control, but was not getting rid of this problem. So, is there a way to fix this? If I want to change the color of the button programmatically, should BTW, I Xcontrol to do this? Thank you!

    I use lv 8.5.

    Best wishes

    Bo

    foolooo wrote:

    Hi all

    I created a table 2D Boolean buttons. But there are still spaces between the 2 buttons (see picture below). I want my buttons are near others. I tried the custom control, but was not getting rid of this problem. So, is there a way to fix this? If I want to change the color of the button programmatically, should BTW, I Xcontrol to do this? Thank you!

    I use lv 8.5.

    Best wishes

    Bo

  • Remove the space between the lines of code

    Somehow, a space appeared between every line of code on a file, that I'm working on. How to remove these spaces using find and replace in Dreamweaver CC?

    Try

  • Unformattable Indesign text - how to remove the spaces between paragraphs?

    I have a 95 page indesign document. I have a few unwanted spaces between paragraphs. I could not get rid of these spaces. I tried to replace the formatting, using the window styles to paragraph, but in this case indesign does not yet recognize the formatting. I put paragraphs in form to 0P0 before and after paragraphs, and yet space remains between some paragraphs. I'm going crazy!

    The problem lies in the text imported into strange formatt, but that was five years ago and I don't even have access to the original text to try to import once more. Perhaps because it is a document to Indesign c5 and c6 now I use?

    Any help appreciated with gratitude,

    Sam

    After checking the object applied to blocks of text style: text frame JWK it shows under text frame General Options/Vertical Justification/Align/Justify (Peter Spier mentioned above about this possibility). I would put this Align/Top. Also when you changed the paragraph to align on the grid he left some gaps on some pages. I have put that back in would line up on the starting grid. There will be a reshuffle of the text when you do. To check if everything looks as it should. Make a copy of the file and make your changes there just in case, and let us know how it goes.

Maybe you are looking for

  • "' Error of speech recognition: voice recognition couldn't start because the language configuration is not supported.

    OP: Windows speech recognition Hi, I have a Dell Inspiron 1545 with Windows 7. I just put in place the Windows speech recognition and finished the installation and the tutorial. I went to use and it says: Speech recognition error Speech recognition c

  • Program guide for WMC

    My guide channel for windows media center stop the update.   I do not understand what has happened since his was working fine just a week ago.  I tried to update the guide, but it won't work.   I've updated everything currently installed.     My guid

  • How to upgrade my video card driver?

    When you try to play solitaire, I tells me that I need to do now that I am on Windows 7.  The full message is: Material acceleratin is disabled or not supported by the video card driver.  Updated video card driver and turn on hardware accelerator

  • BlackBerry Smartphones Track Pad doesn't work do not at all

    Hello I am trying to trouble shoot a Blackberry Torch (9800). The trackpad stopped working and I can't get it working again. Do you usually, rebooted, removed the battery, etc. If anyone has had the same problem or know a solution? GF

  • Windows thinks that it is not enabled.

    Don't stop Windows tell me that Windows is not activated and I should get a Microsoft software genuine since yesterday (02/07/12) which was the first time, he told me that. Then I went to configuration\systeme and Security\System control and HE said