Get channel number

Hello

I have a problem with a select.

I need to compare two string columns. First column includes only a number of 9 characters:

'001234567'

Second column includes the text where somewhere in this text is the number 001234567.

'Hallo1 001234567'

I need to extract the character number of 9 big off the chain. I thought by using regular expression could help me.
SELECT
  REPLACE(REGEXP_REPLACE('hallo 001122334', '[a-z]', ''),' ') "REGEXP_REPLACE"
FROM dual;
But it would exclude the number 1 after Hallo:
Result: '1001234567'

The number I get is always 9 characters long.

Thanks in advance,

Tobias

Something like that?

SELECT regexp_substr('hallo1 001122334', '[0-9]{9}')
FROM dual;

Tags: Database

Similar Questions

  • Get channel number after a character

    Hi all

    Can someone help please how to get a number after a specific symbol (' # ')?

    For example to get the FIRST digit after the hash tag with empty space ("credit memos # 134062 - credit invoice in its entirety due to calculationRe 133758 incorrect charged car and van 130463Crew")

    necessary result from above: 134062

    Kind regards

    Alex

    SQL> with t
      2  as
      3  (
      4  select 'Credit Memos # 134062 - Crediting invoice 133758 in full due to incorrect calculationRe invoiced 130463Crew car and van ' str
      5    from dual
      6  )
      7  select regexp_substr(str, '#[[:space:][:digit:]]+') val
      8    from t;
    
    VAL
    ---------
    # 134062
    
    SQL>
    

    Edit: Removed the vertical bar symbol (|). See Frank's response below. Go with this approach if you're on 11.1 and above.

  • I can't get the number 5 and 6 of my key Board that is

    I can't get the number 5 and 6 on my key Board that happen about two hours ago please help me on fixing the problem

    Hello bigarthur, this is what is happening in the different programs that you use on your computer or just in firefox?

  • How to get the number of bits of Windows?

    Hi all

    How can I get the number of bits of Windows, the application of the LV is running on?

    By using the disabled conditional structure, I can get the number of bits of the application (if it is built in BT 32 or 64), but not the number of bits of windows.

    Thank you

    system variable 'PROCESSOR_ARCHITECTURE '?

  • Still could not get my password. Get a number, but I don't know how to use it

    Original title: * delete *.

    stiil couldn't bassword may I get this number * withdrawn * but I don, t now how to use, what would you tel me how hwn I use blz

    Password for what?

    What you trying to do?

    Please see: http://support.microsoft.com/kb/555375 on how to ask a question correctly. In your own interest, that's why it increases your chances to get an answer to your question quickly.

  • I now get [error number: 0 x 80070424] when I try to use windows update.

    I now get [error number: 0 x 80070424] when I try to use windows update. Also I can not update microsoft UAA!

    Hi KirkOKC,

    Follow the steps described in this document to resolve the Windows Update error 0 x 80070424.

    Let us know if that helps.

  • I formatted my computer to windows xp, I have an acer aspire m5100 is the message I get [error number: 0x8024400A] the website has encountered a problem and cannot display the page you are trying

    I formatted my computer to windows xp, I have an acer aspire m5100 is the message I get [error number: 0x8024400A] the website has encountered a problem and cannot display the page you are trying

    Sasha,

    What browser (exact version). ?

    Harold Horne MVP on September 24, 2012

    0x8024400a

    You must be at Service Pack 3 level before you can use Windows updates.

    To determine which service pack is currently installed on your computer, follow these steps:

    1. on start and then click Run.

    2 copy and paste, or type the following command, and then click OK:

    winver

    A dialog box displays the version of Windows and the service pack that is currently installed on your computer.

    See also: http://support.microsoft.com/kb/2497281>

    You may be unable to access the Windows Update of Windows XP Web site.

    If you haven't already done so, you will need to install the SP2 and SP3 (SP1 note no longer exists).

    How to obtain the latest Windows XP service pack

    http://support.Microsoft.com/kb/322389>

    SP2 - http://www.microsoft.com/en-us/download/details.aspx?id=28>

    (for single PCs too)

    For Windows XP Service Pack 2 installation procedure

    http://support.Microsoft.com/kb/875364>

    Steps to take before you install Windows XP Service Pack 3

    http://support.Microsoft.com/kb/950717>

    It is stated in "How to obtain the latest service pack XP" is.

    If you have problems obtaining the service pack from Windows Update, you can download the package of standalone update from the Download Center.

    This page will say that this installation package is intended for it professionals and developers. However, you can download this file safely.

    The following file is available for download from the Microsoft Download Center:

    Download the Windows XP Service Pack 3 package now

    FIRST: Uninstall IE8 and IE7 if they are installed. Back to all the way back to IE6. You want other patches before you get those. Reboot after doing this.

    You are not the first to ask questions about how to upgrade a clean Windows XP - not even installation in the last week. In fact, I will just cut and paste my answer here... here:

    Get SP2 (manually) and save it to your desktop. (There's a link here.) [You are a COMPUTER professional for now.]

    Install it.

    Then restart at least a couple of times for a few minutes between each restart.

    Get SP3 (manually) and save it to your desktop. (There's a link here.) [You are a COMPUTER professional for now.]

    Install it.

    Then restart at least a couple of times for a few minutes between each restart.

    Download at least Internet Explorer 7 (if it is not Internet Explorer 8).

    Install it.

    Reset.

    Now, try to get the updates through the normal web page (http://windowsupdate.microsoft.com/) and see how much more you can get (100 +) and keep checking until you no longer have.

    Back - let everyone know if it worked for you.

        

    UTC/GMT is 14:12 on Sunday, October 28, 2012

  • I get error number ox80248015 when I try to install the update from the ms window

    I get error number ox80248015 when I try to install the update from the window

    see if that covers your situation: http://support.microsoft.com/kb/896226

    Also make sure that the date and the system time is set correctly.

  • How to get serial number in Dell monitor?

    Hello

    How to get serial number in Dell Monitor (model No.: S2240Lc).

    I have only 20-digit S/n.

    Thank you

    Riou...

    As I said, you can't get a service tag. By the article.

    Monitors without a number of service purchased from resellers (Amazon, Best Buy, Buy.com, cost Co, Wal-Mart, Sams, other boutique online, etc.)
    * Based on the start date of date code monitor 20-digit serial number, Dell PPID you monitor for 3 years warranty
    You need to contact Support for your country. Tell them to open the Dell internal only Oracle knowledge Information center
    * In the search space, they should enter PNP13081, and then click search. This opens the article =
    Replacement for Dell monitor and procedure - Dell international policy policy

    The customer is unable to provide a Dell order number or serial number system because the customer bought the monitor from a retailer. The only information that the client has are the PPID number for the monitor. For monitors when there is not an available Dell order number, agents will use the date code embedded in the PPID monitor serial number to determine the beginning of the start of coverage.

    Discussion = the warranty is 3 years from the date of early series PPID embarked on the label.
    Solution = Set up screen replacement against the fake tag.
    * You would provide the following representative data if you need a replacement monitor in this 3-year period:
    Brick or shop online:
    Monitor model:
    Monitor 20 digits alphanumeric serial number PPID:
    [Your]
    E-mail address:
    Name:
    Shipping address:
    Phone number:
    Operating system:
    Video card:
    Video card ports tested:
    Question:
    Performed troubleshooting:
    Monitor the done Factory Reset
    Watch chess self-test Diagnostics and integrated
    * Post more troubleshooting

  • I have a thinkstation with win7pro an OEM installed how to get serial number

    I have a thinkstation with win7pro an OEM installed how to get serial number

    If it's a win7 machine, there should be a sticker.  It is called the product key and is 25 alphanumeric characters in 5 sets of 5.

  • How can classic BlackBerry, I get my number on my blackberry screen

    Hi all. About had my new classic sort but can't do the simplest thing! When I type the application phone and symbol to allow me to touch screen and set up my own number all I get is an unknown number above my blackberry. How can I get my number to display on my phone? Thank you very much

    Welcome to the 'Office '!

    You can enter the phone number yourself (I did it for two "Classic" ones), I think that on the phone 'App', when sliding them down here is 'Options'... or under the 'security and privacy' (search for "SIM").

    Sorry if my memory does not help, I did it in January and I don't have the phone, came out for verification of the warranty!

    Maybe someone else can direct you exactly, step by step.

    (Good choice... "Classic"!)

    See you soon and good luck!

    m.-

    (Psst! If someone helped you, click to accept the solution... "It's free!)

  • How to get the number of fonts online

    Hi all

    can you give me solution to the following:

    How to get the number of fonts on a line.

    Ex

    BlackBerry Support 'Community' is supported for my career

    in this line, I want to ITALIC for the word 'Community '.

    Font.GetDefault (). Derive from wil give for total line...

    RichTextField does not?

    See this KB article

    http://supportforums.BlackBerry.com/T5/Java-development/format-text-in-a-RichTextField/Ta-p/445038

  • Get the number of elements in the header in GroupDataModel

    Hey everybody!

    I wonder how to get the number of items in each topic in a GroupDataModel. Here's a code, where headerCount would be the number of items in each section:

    ListView {
                dataModel: _app.dataModel
    
                layout: StackListLayout {                    headerMode: ListHeaderMode.Sticky            }
    
                listItemComponents: [
                    ListItemComponent {
                        type: "header"
    
                        Container {
                            Label {                            text: ListItemData + " " + headerCount                        }
                        }
                    },
                    ListItemComponent {
                        type: "item"
    
                        Container {
                            Label {                            text: ListItemData.cardName                        }
                        }
                    }
                ]
            }
    

    Also here is the code of applicationui.cpp, where it defines the datamodel. It's using GroupDataModel.

    void ApplicationUI::initDataModel()
    {
        // Note: The Group Data Model is joining this objects tree as a child (for memory management)
        m_dataModel = new GroupDataModel(this);
        m_dataModel->setSortingKeys(QStringList() << "cardType");
        m_dataModel->setGrouping(ItemGrouping::ByFullValue);
    }
    

    Hope that makes sense. If you have any questions, let me know!

    This will help you

    https://developer.BlackBerry.com/native/reference/Cascades/bb__cascades__GroupDataModel.html#functio...

    Your header looks like this

    ListItemComponent {
        type: "header"
    
        Container {
            id: rootItem
            Label {
                text: ListItemData + " " + rootItem.ListItem.view.dataModel.childCount(rootItem.ListItem.indexPath)
            }
        }
    }
    ..............
    

    It may be useful

  • Get the number of the caller before ringing

    Hello

    I want to get the number of the caller when a new call coming but before the device starts ringing. Is it possible to get? Can someone help me?

    Thank you!

    callIncoming fires before the unit begins to ring. You can use Phone.getActiveCall... to get the number

  • Get the number of files in the folder

    Hi all

    How can we get the number of records present in the file, so that we can make the program to extract the different files in the folder according to the number?

    Thanks in advance,

    Sandeep

    Check the FileConnection API and 'list' methods

Maybe you are looking for

  • Y at - it all situations that would make ineligible refund?

    I mistakenly bought an app. When I managed to make a refund. I was told "this purchase is not eligible for a refund. I would like to ask if there are factors which would make the refund is not available. What can I do to get a refund or there is noth

  • Using Apple Watch - how do I constantly monitor my heart rate during exercise

    Using Apple Watch - how do I constantly monitor my heart rate during a workout? Your heart rate. What it means, and where on Apple Watch you will find. -Apple Support According to this link, it should be available - but I can't find it on my Apple Wa

  • Generation of random values

    There is a bug in the continuous Random.vi for the generation of random in a khi-two distribution and Chi-squared Centre-no? When I draw the histogram with high resolution (numerous ferries) successively the h does not vary around the theoretical val

  • measurement of simulated ADC sinad

    Hi, I work on the development of labview code for the dynamic test of the Active Directory Connector. I use labview below as reference code. http://zone.NI.com/DevZone/CDA/EPD/p/ID/392 For my code, I get an error message frequently and it closes auto

  • E6G06PA #UUF: password bios unknown HP ENVY 15 Notebook PC

    Please I need to reset the password for the bios... when I type 3 times its screen number 51904512 Help, please