WE SHOULD NOT USE SUBSTR FUNCTION...

Hello

ex: [email protected] , [email protected] [email protected]

AS THIS HUNDRED PLATE IS HERE.

QUERY:

I DON'T WANT THAT YAHOO, GMAIL LIKE THAT... WE SHOULD NOT USE SUBSTR FUNCTION...

THIS IS AN INTERVIEW QUESTION

Thank you

Try:

Select regexp_replace (' [email protected]',' ^. * @(.*)-.) (. *)', '\1') twice;

Tags: Database

Similar Questions

  • Could not use DB function call to insert a row into a table OBIEE

    Hello

    At the prompt of the OBIEE report, I create a DB function in a variable column of the guest, so whenever I'm in the dropdown variable ob column call the function DB call.

    The function call is insert a row into a table in the database. However, it seems impossible to insert the row into the table.

    I have test the function in the sqlplus and it works, if the function has no problem. The problem is OBIEE failed to insert something in the datebase, it can only read from it.

    Any ideas on how I could fix it?

    Thank you!

    Hello
    Use your Evaluate function and the variable correctly. In the case where u called this function evaluate in the report in a column, and he has 100 files it contains, it will call db 100 times.

    Kind regards
    Anitha.B

  • Why you should not use NMP/round robin MPIO with MSCS in ESXi < 5.5?

    There, could someone explain to me why MSCS do not work well with turnstile NMP on ESXi < v5.5?  Best explanation I've seen is that each path is "seen" differently by the guest operating system continuously, send commands to reset and SCSI reservation everything slow.  No doubt this could complicate situations requiring a turnaround as well...

    Looking for a good explanation - which would also help me to understand how it "works" in ESXi 5.5 + now.

    According to Cormac Hogan:

    In the past, political path of round robin might not supported on MSCS shared storage. It was because of the inability to release SCSI reservations on some routes when the reserve has been placed on a different path on the same disk. With the release of vSphere 5.5, this problem has now been addressed and we support RR on storage that is consumed by the MSCS nodes.

    source

  • I do not use living forms

    I do not use this function...

    It will be switched off?

    4.jpg

    You can extend a form in a traditional object (and perhaps add your own shortcut) or learn to use:

    Work with living forms. Adobe Illustrator CC tutorials

  • I have photoshop cs6 and want to use the patch tool, but I can't find it anywhere in my program. I tried to download the latest updates, but I'm still not. Fix function is supposed to be part of the package CS6?

    I have photoshop cs6 and want to use the patch tool, but I can't find it anywhere in my program. I tried to download the latest updates, but I'm still not. Fix function is supposed to be part of the package CS6?

    Hello Mojo,

    Please right-click on the Spot Healing Brush, and you should be able to see the patch tool.

    Kind regards

    Tanuj

  • Help on using substr and instr functions

    Hello

    I'm trying to go back to the first three letters of the first word and all the last word in a description field. For example, if the description is 'grilled steak' the query should return "steak gri. That's what I have so far:

    SELECT SUPPLIER_ID, PRODUCT_CODE, SUBSTR (DESCRIPTION, 1, 3). ' ' || SUBSTR (DESCRIPTION, INSTR (DESCRIPTION, ' ', 3)) AS A DESCRIPTION
    OF L_FOODS;

    Unfortunately, if the first word is the final word, it returns something like "sod soda." Does anyone have any advice or suggestions? Any help would be appreciated.

    Hi and welcome to the forum!

    It is always helpful if you identify your version of Oracle. The solution below depends on 10.1 and upward.

    What you could do is include a conditional around your instr/substr functions that checks the number of spaces between words. If it is greater or equal two one then there are at least two words. For example:

    WITH test_data AS
    (
         SELECT 'grilled steak' AS DESCRIPTION FROM DUAL UNION ALL
         SELECT 'large pepperoni pizza' AS DESCRIPTION FROM DUAL UNION ALL
         SELECT 'soda' AS DESCRIPTION FROM DUAL
    )
    SELECT     (CASE
              WHEN LENGTH(REGEXP_REPLACE(TRIM(DESCRIPTION),'[^[:space:]]','')) > 0
              THEN SUBSTR(DESCRIPTION,1,3) || SUBSTR(DESCRIPTION,INSTR(DESCRIPTION,' ',-1))
              ELSE SUBSTR(DESCRIPTION,1,3)
         END) AS DESCRIPTION
    FROM     test_data
    

    Results

    SQL> /
    
    DESCRIPTION
    -----------------------
    gri steak
    lar pizza
    sod
    

    : EDITION:

    I also wanted to add this:

    SUBSTR(DESCRIPTION, INSTR(DESCRIPTION, ' ', 3))
    

    May not return the expected results. If your description field contains more than two words he will return all remaining words not only the LAST Word. See my solution above for what I believe is the correct version.

    HTH!

  • should I i38? I have FF, and I do not use ie8 im or outlook. Are there other reasons, I need ie8? I want to remove for better speed.

    should I i38? I have FF, and I do not use ie8 im or outlook. Are there other reasons, I need ie8? I want to remove for better speed. Edit

    Sorry, but you can't permantely delete IE (I wish we could) beacause its part of the core of the Windows operating system.

  • What function key should I use for the option about bootcamp

    Function key WWhat should I use to open option of bootcamp

    If you try to open the Bootcamp application, simply search for it featured in the top right corner.

    If you have already installed Windows and try to start Windows, turn off the computer and then turn it back on by holding the Option key. It should show unity of Bootcamp and the Macintosh HD.

  • My iphone 6 s most is having hanged. They said he he's is not replaced. I was wondering how should I confirm that the phone I get is a brand new one not used one?

    My iphone 6 s most is having hanged. They said he he's is not replaced. I was wondering how should I confirm that the phone I get is a brand new one not used one?

    This will be an iPhone manufacturer refurbished in excellent condition 'as new '. You can not change anything on this subject because it's the usual Apple policy on replacement devices.

  • HP Pavilion notebook dx6500 webcam does not say should be used in another program.

    Original title: web cam a malfunction.

    I have a pavillion dx6500 laptop with a webcam integrated.  When I go on Windows live messenger or Skype, she said that my webcam does not work and should be used in another program.  Does anyone know a simple solution?  It's frustrating.  Thank you.

    Hi judyhawthorne,

    1 how long have you been faced with this problem?

    2. have you done any hardware changes or software on your computer before this problem?

    3. what operating system is installed on your computer?

    You can set up your computer in a clean boot state, and check if the problem persists. It will start Windows 7 by using a minimal set of drivers and startup programs and helps eliminate software conflicts.

    The following link has steps showing how to perform the clean boot: http://support.microsoft.com/kb/929135

    Note: Please make sure that the computer is configured to start as usual according to step 7 of the article: how to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7: http://support.microsoft.com/kb/929135

    Reference: Using the Webcam with the Internet e-mail software

    Free chat: use instant messaging and webcam to stay in touch

    Hope the helps of information.

  • Using excel, if I remove a value in a cell and you decide then he should not have been deleted, how I get it back?

    Using excel, if I remove a value in a cell and you decide then he should not have been deleted, how I get it back?

    Once you have removed the cell values and you have not saved the document again that you can always undo changes.

    Keyboard shortcut for undo is Ctrl + Z.

    MD MOEEN AJAZ KHAN - MCP, N +, A +.

  • My laptop stopped recognizing wireless function. What drop-down list function should I use to get it to recognize wireless again?

    My laptop stopped recognizing wireless function.  What drop-down list function should I use to get it to recognize wireless again?

    Hello

    What is the brand and model of your laptop?

    Follow the suggestions and check out them.

    Method 1

    You can follow the procedure in the article.

    Enable or disable a network adapter

    http://Windows.Microsoft.com/en-us/Windows-Vista/enable-or-disable-a-network-adapter

    Method 2

    Windows wireless and wired network connection problems

    http://Windows.Microsoft.com/en-us/Windows/help/wired-and-wireless-network-connection-problems-in-Windows

    See also:

    Network adapter problems

    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-network-adapter-problems

  • Why can I not use the scanner function if my ink cartridges are not installed properly?

    The scanner allows just as one scanner I have another product of HP that I use for my printing needs? My all in one (C4580) there is an error that indicates that the ink cartridges have not been installed correctly. I have not used this printer as printer in a long time, but use it as my primary scanner. Is there anyway I can overide the "Cartridghe Print badly installed" so I can use the scanner function? Thank you for your help

    You can find information on how solve the error associated with cartridge you have about your Photosmart C4580 paper here.

    With most of the printers HP if there is a visible error on the printer screen it only lets not to copy, scan or fax.

    I hope this helps.

  • Why should I get driver USB adapter 802.11 wireless b/g if I do not use wireless controls?

    Why should I get driver USB adapter 802.11 wireless b/g if I do not use wireless controls? Looks like it would be easier for someone else to spy on your computer.

    Then don't use it. Leave it or uninstall it...

  • Since the (all updates) update yesterday, I find one inactive (used only for vpn) network adapter waiting for DHCP Ip address. 1 minute. This should not happen.

    This adapter (or should I say windows) should not ask an IP address until it is in use. There is no difference if I disable it in Device Manager. I get the following error (ID 1001):

    Your computer not was not assigned a network address (by the DHCP server) for the network card with the address...    The following error occurred: 0 x 79. Your computer will keep trying... Since the server (DHCP).

    The MAC address is the MAC address of my "virtual" network card

    In the meantime my physical network adapter does not work. It seems windows is just to wait a response "who will not to pass" a DHCP server which unless I launch the VPN software is simply not going to work.

    I suspect that it is the result of an update that should not work this way.

    Any suggestion is welcome.

    Thank you.

    I would just add - it may be important for long-term understanding of the issue. In network connections, the VPN arrested projected map (still there in Device Manager). I see only the physical card. After removing both and reinstall the two becomes visible. The previously hidden map (vpn) becomes visible. It was not until the physical adapter has been reinstalled (logically). Personally, I have no idea why this I messed up. There should not be.

    Best regards, Dave.

Maybe you are looking for