validation to check him point does not contain any special characters except ' - '.

Hi all

I have a question and the need to create a validation so that the item does not contain special characters (or numbers or spaces) other than salvation fen. That is to say, the element must contain only alphabets or ' - '. Tried to use the Is_Alpha function, but do not know how to handle this exception to the use of '-' in validation. So please, can someone suggest me a solution.

Thank you
Vignesh

Vignesh,

You can create Validation based on return Boolean and returns a False when the element has charecters other than 'A - Z' (charecters upper and lower) and - (hifen).

if trim(translate(upper(:P1_ENAME), 'ABCDEFGHIJKLMNOPQRSTUVWXYZ-'
                                                  '                                                  ') is null then
   return false;    -- replacing all the alphabets and hifen with spaces... trim will leave an empty string(which is null)
else
   return false;
end if;

Based on the following sql instructions...

sql> select nvl(trim(translate(upper('ASDFG---'), 'ABCDEFGHIJKLMNOPQRSTUVWXYZ-',
  2                               '                           ')),'Null Value')
  3     from dual;

NVL(TRIM(T
----------
Null Value

sql> ed
Wrote file afiedt.buf

  1  select nvl(trim(translate(upper('9999Asf---'), 'ABCDEFGHIJKLMNOPQRSTUVWXYZ-',
  2                               '                           ')),'Null Value')
  3*    from dual
sql> /

NVL(
----
9999

Tags: Database

Similar Questions

  • Pages does not open any file more except models

    From one day to the other Pages 5.6.1 does not open any more files on my MacBook Pro with OS X 10.11.3. I tried all means: 'Open recent', 'open... '. ","With "Open Pages", without result. A restart does not help. Best regards.

    Hi Ciroamos,

    I understand that you're having trouble to open a document Pages 5.6.1 on your MacBook Pro.  Have you recently updated or changed on demand?  Have you tried to open a Pages document on icloud drive, in addition to your computer? One thing I would try is to use Time Machine and go back to an earlier date and see if you can open a document.  If you can't, then you must uninstall the application Pages and re-download from the Mac App Store.

    I would add some information below to help you with these troubleshooting steps.

    Mac OS X: how to solve a software problem

    Use Time Machine to back up or restore your Mac

    Restore specific files:

    1. Enter in Time Machine, choose the Time Machine menu , or click on the Time Machine in the Dock.

    2. Find files to restore:
      • Use the timeline on the edge of the screen to see your Time Machine backup files, as they were at this date and time. The timeline may also include a snapshots the.
      • Use of the screen and down arrows to reach the last time the content of the window changes. You can also use the search field in a window to find a file and then move through time, well that centered on the changes to this file.
      • Select a file, then press the SPACEBAR to preview the file and make sure it is the one you want.
    3. Click on restore to restore the selected file, or Ctrl-click the file for other options.

    Download your latest purchases

    Redownload an app

    On a Mac or a PC

    You can redownload the apps for iOS in iTunes devices and applications for your computer in the Mac App Store.

    Since the Mac App Store

    1. Open the Mac App Store.
    2. From the top of the window, click on purchases. Your purchased apps will appear.
    3. Scroll down to find the application you want to download.
    4. Click on install or download to the right of the item you want to download. Your application will download to your computer.

    Take care

  • Get an error window, the source folder does not contain any supported camera raw files

    Use the DNG successfully for some time now thanks to the Adobe forums after that I got my new 7 d. Always with the help of CS2 and is finally managed to convert the 7 d to the DNG format.

    Just be shot in raw of marriage because he needed a little more space than the 18 MP biggy.

    Now, DNG gives me an error message that the files source on my CF cards contain no support RAW files.  That is what it is? Any thoughts on why DNG cannot read RAW files smaller the 7 d?

    Big question here because it is a marriage to work on and I can not even begin to say how to slow DOWN, it will have to use EOS Digital Photo Professional from ADobe Bridge/ACR. I can just go die.

    A little help if someone knows why worth a glance.

    Are you sure you are using the latest (version 5.6) Adobe DNG Converter?

    You can download it here:

    Windows:

    http://www.Adobe.com/support/downloads/detail.jsp?ftpID=4620

    Mac:

    http://www.Adobe.com/support/downloads/detail.jsp?ftpID=4619

    As far as I know, the DNG Converter supports 7 d mRAW and sRAW files to DNG conversion. If you are sure you use 5.6 and your raw files do not work, can you post them somewhere so that I can download and St them?

    Another thing, you can try it for some raw files copy manually the CF card into a folder on your desktop, and then ask the DNG Converter to convert these local copies to the DNG format. If conversion mRAWs on your office's work, but their conversion on your card does not work, then it is possible that you have selected just the right folder on your card in the DNG Converter, or there may be another problem, just read the files on your card.

    Thank you

    David Franzen

    Quality engineer

    Adobe Systems, Inc..

  • The food does not contain an image valid podcast.

    Hello

    I asked this question before and the control point was that the image is in https. We addressed it now and the image is http, but I always get the error the food does not contain an image valid podcast. Podcast images must be at least 1400 x 1400 pixels.

    Flow validates correctly as well, although when tested in iTunes, the episode does not show.

    Here is my feed - http://feeds.feedburner.com/accenture/stagemanual

    Thanks in advance.

    I checked in the Podcasts connect and the error is not with the image, but it complains that it cannot download episodes of your EDI. This is because the URL of your media file is

    http://link.videoplatform.limelight.com/Media/?Mediaid=01bc098836b64009915f2aa89 00aa4ab & amp; width = 480 & amp; height = 321 & amp; playerForm = player

    It is a Flash drive. You can't use a player incorporated - you must provide a direct link to the media file. and it's not Flash. For video, it must be .m4v, .mov or .mp4. The file should play in a browser when you enter the URL, not force a download or appear in a player.

  • I transferred X 1 pro overall to another PC, but opening I get the message "serial number you provided is valid but calling it a product was not found on this computer", the drop-down list of products responding to the does not contain the ProX1 op

    I transferred X 1 pro overall to another PC, but opening I get the message "serial number you provided is valid but calling it a product was not found on this computer", the drop-down list of products responding to the does not contain the option ProX1.

    Hi Carl,

    It seems that you have installed Acrobat XI pro as an upgrade and an upgrade you will need a serial number for a product older Acrobat X, etc. 9:

    See, error: "this serial number is not for a product calling it" | Adobe Creative Suite

    Also, I checked with your Adobe ID on the forums and I can only locate XI of Acrobat pro upgrade recorded, please check if you have registered an earlier version of Acrobat on some another email to get this serial number.

    Let us know if that helps.

    Kind regards

    Sandrine Bani

  • the component business project does not contain a valid connection

    Hello

    I get this warning appearing in my project when I run:

    WARNING: env_appln: the business component project does not contain a valid connection

    env_appln is the name of my project

    No one knows what it is and how I would go about fixing of this?

    Thank you
    -Mark

    Mark,
    It just tells you that the DB connection that is used in conjunction with the application module is not correctly configured (wrong username or wrong db pwd).
    Since you have not mentioned the jdev version you use I'll assume that 11g.
    Click the database tab, find the node with the name of your project and open the node. Inside, you will see the db connections uses the module of the application. Right-click on each one and select Properties, check if all directions are written and test the connection. If you see "Test passed" for all connections the error message should disappear.

    Timo

  • Tecra 750DVD: HARD drive does not contain valid FAT or FAT32

    Hi people, been problems since a week now.
    Old hard drive died so installed a new.
    Set startup disk in and it all starts to load and then I get the message "Windows 98 has detected that C does not contain a valid FAT partition FAT32 ot. There are several possible causes.
    Then at the bottom of the three options
    Device not found driver: "MSCDOO1."
    Invalid device CDROM drivers selected
    then
    To get help, type HELP and press ENTER
    A:\ >

    When I type FDISK all I get a message that says
    No fixed disk present.
    So I'm stuck.

    Any ideas suggestions? Can't see a way past it.
    Everyone?

    Thank you

    I assume that you have placed this HARD drive in the laptop, but you have not formatted it.
    If you want to install a Win98 HARD drive must contain a FAT or FAT32 file system.
    I recommend booting from the Windows XP CD and format.

  • the windows boot configuration data file does not contain a valid entry os

    Hello

    I got this message when recovery... I can't get the windows... I have the CD recovery, but when I boot it... It gives me this message

    the windows boot configuration data file does not contain a valid entry os

     


    How do I solve this problem

    Hello

    Assuming that it's just a problem with the recovery media, here's another solution, you can try.

    Before you try the following, make sure that you can always read the character product activation key 25 on your label Windows COA (5 blocks of 5 alphanumeric games).

    An example of a COA label can be seen here.

    You can create a Windows 7 installation disc yourself using another PC - just download the good Disk Image ( it must be the same version that originally shipped with your laptop - IE if your laptop comes with Windows 7 Home Premium, that is the file you need to download ) from the link below and use an app like ImgBurn to burn the ISO correctly file on a blank DVD - a guide on the use of ImgBurn to write an ISO on a disc is here.  The source of the Image is - Digital River.

    Images of Windows 7.

    Use the disk to perform the installation, enter the activation key of Windows on the label of the COA at the request and once the installation is complete, use ' 'phone Method' described in detail in the link below to activate the operating system -this made method supported by Microsoft and is popular with people who want to just have a new installation of Windows 7 without additional software load normally comes with OEM installations.

    http://www.kodyaz.com/articles/how-to-activate-Windows-7-by-phone.aspx

    All pilots additional and the software you may need are located by entering your full model number or Nr here.

    Kind regards

    DP - K

  • The mouse pointer does not hide when you type, even with the box checked.

    Hello everyone.  I turned on the check mark in the properties of the mouse "hide the pointer during the strike".  However, the mouse pointer does not hide when typing, but instead remains visible all the time.

    No one knows why this happens?  In previous versions of Windows, the pointer should simply disappear when keystrokes are typed, and then reappear when the mouse is moved.  Is not the case here!

    Thanks for any information!

    System details:

    Windows Vista Ultimate x 64 SP1, 4 GB ram
    Intel Core2 3.16 GHz cpu
    NVIDIA GeForce 8800GT with two monitors
    Aero is enabled.

    Hello

    Welcome to the community of Windows Vista.

    1. what application you are working on when you encountered this problem?

    Hide the mouse pointer option allows you only to remove the mouse curzor of
    the focus in the working window so that the cursor does not cover the text or the pitcure you see.

    Make sure that the curzor of the mouse is placed inside the app as you type, as it does not hide the mouse, if it is outside of the application.

    Change the settings of the mouse
    http://windowshelp.Microsoft.com/Windows/en-us/help/efd700f8-bbc0-4F04-9f78-3bdb4bbf47011033.mspx#EKD

    Kind regards

    Technical support of Microsoft-yama.
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • "The package MSI does not contain a valid signature" message when install OMSA.

    Hello

    I would like to ask for help in the following problem:

    I m trying to install the OM server administrator in a Dell PE2950 who has installed Windows 2000 server + SP4.  After the analysis of the prerrequisites are finished "the package MSI does not contain a valid signature" message.    I Don t know what is the problem, can you help me?

    MCC


  • How to check that the variable 'does not contain' value?

    Hello

    I use CP 7.0.1.237.

    We want to use the widget text box for a custom quiz and verify a response. While we understood how to check the existence of certain key words, we are not able to find a way to check that the content does NOT contain certain keywords. For example, we want to ensure that the text entered in this widget does not contain a "Transformation" and "Non-compliant.

    Is this possible at all?

    Thank you

    Anthony

    Anthony, it works perfectly. Created this conditional action with 4 decisions. I used the interaction of training text scrolling in CP8 (because now you can control the variable - which means I might have a Reset button):

    First decision:

    Second decision (the third is similar to the following)

    Fourth and final decision

    I put the variable words (v_first... v_fifth), it's a reflex I use since I shared actions that much. The variable associated to the ETB (you can now reset an empty var in CP8) is v_TextArea and the Boolean value that will decide if positive feedback (StarOK) should be shown is v_TA_OK. If you want to display a negative feedback, put this in the ELSE part of the final decision.

    FYI: it took 15 minutes, including the creation of assets and the variables and tests. Personally I would have needed more time to do it in JS, but that's just me.

    Lieve

  • The extension does not contain a valid signature

    Hey guys, newbie on the bridge!

    Then, after the installation of the CS6, I ran the Adobe Update Manager. During the update the pulled (AEM) Adobe Extension Manager and started to update as well. A mistake that I saw was:

    The extension 'Adobe_Flash_Professional_Toolkit_for_CreateJS' does not contain a valid signature. The extension will not be installed.

    I don't know what it is or what it does, but I would like to:

    1. Understanding the ecosystem of Adobe and
    2. Erase all the problems.

    Here's what I know:

    • The Mac I have is 2 days old and probably in the best shape of his life.
    • I installed fresh CS6 from a DVD.
    • Ran the Adobe Update Manager the next day (today).
    • I do not wish to use the Flash.

    If anyone can expain common causes for this problem, and a solution I would be very happy.

    Thanks in advance,

    TT

    There is a technical note on this issue at http://helpx.adobe.com/flash/kb/error-installing-toolkit-createjs-11.html. You can download and install the new extension signed since the link provided on this page.

  • MBR - Volume does not contain a file system recognized - after bootrec options

    I was unable to install the Vista SP2 (as it appeared later, because of a Grub boot loader installed by Linux). I tried to reconfigure the bootloader and the partitions (which allows to boot directly into Windows), but after several bootloader configurations (load different partitions as well as MBR) and some partition resizing (resize incl. NTFS partition). Windows unbootable.

    I tried Windows Rescue Disk:

    Bootrec /fixmbr succeeded

    Bootrec /fixboot did not work until I made the /scanos (including iedentified, after having disassembled the NTFS Linux partition and putting the flag of boot loader in the MBR and the default option of grub in Windows, there are 1 installation of Windows in C:\windows).

    If I then repeated bootrec /fixboot he gave the message that the volume does not contain a recognized file system.

    I also did bootrec /rebuildBCD (after renamed it bcd), ultimately without success.

    In total, the situation of 'better' I reached was either a Windows startup with a cursor flashing something happens (apparently find the partition but not any which boot file or OS); or the spare arriving to determine that there is a partition of Windows Vista, but (following the first option to simply repair the system) 'no errors detected. " The second option here, "Restore to a previous point" refers to that there is no previous such restore point.

    It took me about 24 hours now to finally get SP2 installed, but obviously with only murkier.

    Hi Willem W,.

    I suggest trying the (step 1 in the link) Startup Repair and then manually rebuild the BCD (Boot Configuration data) using Bcdedit.exe (step 3) in the article below and check if this solves the problem

    Error message when you start Windows Vista: "the Windows Boot Configuration data file is missing required information".

    http://support.Microsoft.com/kb/927391

    Thank you, and in what concerns:

    Ajay K

    Microsoft Answers Support Engineer

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • "Test batch" entry point does not exist

    Hi Forum

    I'm in the process of upgrading one of our testsystems TestStand version 3.1 to version 4.1.

    The system is started by a Labview application that calls TS by a call from the command line (-runEntryPoint 'Batch of Test' "C:\...) »). However, TS 4.1 does not recognize the entry point "Test batch" (worked well in point 3.1), and I get a box with the error message "" Test batch"entry point does not exist. I checked the entry point exist in the model of sequence file, and if I go into the "Run" menu, I get the choice to run "Test batch".

    I am able to be-run the command, but then I, for some reason, don't you the entire sequence.

    Any suggestions for what I am doing wrong? I am connected to TS automatically with my windows login.

    B.R.

    Martin

    Hello

    There should be a document in \Conponents\NI\Models\... that should give you the basics to different process templates.

    Here are a few other references that can help

    http://zone.NI.com/DevZone/CDA/tut/p/ID/7958

    http://digital.NI.com/public.nsf/allkb/D9E7A0BDDDA2A87886256FD9007598D2
    Check out some related links
    http://zone.NI.com/DevZone/CDA/tut/p/ID/3819

    Concerning

    Ray Farmer

  • I just installed Windows 7 on a PC that I just built. Being new to Windows 7 I started to play around him and did not find any games at all. Does anyone know how to fix this?

    I just installed Windows 7 on a PC that I just built.  Being new to Windows 7 I started to play around him and did not find any games at all.  Does anyone know how to fix this?

    Salvation Ita; tribal

    Congratulations on a newly built Windows 7 computer. Selected games may not be that is the reason why you are unable to find all the games on the computer.

    Follow the steps to turn on the games feature.

    1. click on start.
    2. type optionalfeatures.exe in start search.
    3. place a checkmark for the games.
    4. click on OK.

    After the computer has been restarted, check if you can play games on your computer.

    See the article: features on or off Windows activate: http://windows.microsoft.com/en-US/windows7/Turn-Windows-features-on-or-off

    Thank you, and in what concerns:
    Swathi B - Microsoft technical support.

    Visit our Microsoft answers Feedback Forum and tell us what you think.

Maybe you are looking for

  • Satellite 1800-100: need a display driver for Win XP

    Hello I downloaded the driver, trident on the Toshiba site. But when I install it, XP pro says he won't. In the .inf file I see: compatible win 95 :(Can you help or extract a good driver on the same model? I test a lot of drivers, but nothing is good

  • IdeaPad 500 - a black screen during Normal labor

    IdeaPad 500 - a black screen during Normal labor My 500 Ideapad is a month old. After a few days with her, I saw that in the middle of my normal work (Word, Excel, ETC...) My screen turn Black and will never go back. Only with the black screen reboot

  • DV7-6195us, a 15mm high hard drive adapt?

    I have a laptop DV7-6195us. I want to upgrade the hard drive in the drive Bay Second to a Western Digital WD20NPVT, 2 TB hard drive. This drive is 15mm high. My current drives are 9.5 mm in Bay 1, 12.5 mm in bay 2. The larger hard drive will fit insi

  • Why my word document cannot be read on other computers

    I have a windows vista operating system and Word 2007 support. I can read documents send me people, but the documents I create and send to other people (who are very good on my pc) open as a complete gobbleygook on their pc.

  • Lenovo X230T vs Lenovo Twist

    Hello I plan to buy a new laptop and cannot make my choice I love the design of Lenovo Twist but I also need the X230T pen digitizer I'm not a big fan of the X230T battery, but as long as it is for me 6 hrs battery life, I agree with her I hate these