Validation on the first two letter

Hello

Can someone help me how to write a PLSQL code.
The code must check that the two first letter is a letter and then follow by a number e.g. AB123456, BC123456.
When entering an error number and the first two should be appear.

Kind regards
EKAS

Since you're on 10G, you can use regular, as expressions of knapen, and my examples have shown.

Regarding the validation in the APEX: APEX has its own forum, but I have not worked with APEX (yet): Oracle Application Express (APEX) , then you might want to ask over there as well.

But I would put a check on the table itself, both constraint in any case.
And if possible (it should be), deal with this error in check constraint in the APEX.

Tags: Database

Similar Questions

  • Hello, I currently have 3 subscribers: 1) first 2) effects after 3) package for a student in the acquisition of switching on all the programs. Can unsubscribe the first two presentations, namely, I want to unsubscribe from the Adobe Premiere and Adobe bac

    Hello, currently I have 3 subscribers: 1) first 2) effects after 3) package for a student in the acquisition of switching on all the programs. Can unsubscribe the first two presentations, namely, I want to unsubscribe from the first and Adobe Adobe after effect.  user: [email protected]

    Hello Anton

    I checked your account and see that you had a first CC, After Effects CC & a full subscription of creative cloud.

    I cancelled the subscription Premiere and After Effects for you.

    Let me know if you need assistance.

    Thank you

    Scott

    Follow us on Twitter @AdobeCare

  • When you look at the performance of a virtual machine, when you make a graphic of 3 months it appears correctly for the first two, but the last month is compressed.

    When you look at the performance of a virtual machine, when you make a graphic of 3 months it appears correctly for the first two, but the last month is compressed.

    Hello

    When you say that the last two months are compressed. I do not have what exactly you mean by that. Is there a chance you can attach a screenshot of the same thing? Also let me know if there are any made VC-database activity recently?

  • I recently changed my IE but when I try to import the Favorites I get only the first two files. How can I get my favorite of all THE? s

    I followed the advice and imported IE Favorites, but only the first two files have met. How can I get all THE files across please?

    Wow. I think I will like Firefox if the aid is so easily available, quick and as good as this. Fixed right away
    Thank you very much
    Kevod

  • Insert hyphen after the first two digits

    I don't see just how I can insert the hyphen in one of my filed talbe. for example I have 123456789, 321654987 I want just to add the hyphen after the first two digits. 12-3456789, 32-1654987. Do I need an update statement to change that in my talbe. Thank you

    Of course, the column is VARCHAR2, then

    UPDATE t
       SET a = SUBSTR( a, 1, 2 ) || '-' || SUBSTR( a, 3 );
    

    Or you can leave it as it is and create a new view on the table in the format of the string you want.
    Or you can just format the selection of the table.
    Or you can add a virtual column with data formatted as you wish.

    All depends on your needs.

  • How to display the first capital letter.

    Hi all


    I want when I get lowercase letter in the field, and it displays for me first capital letter.e.g (g)

    GB 1 it show G01.


    Please help me.


    Sarah

    Hi Sarah!
    If you enter just a letter and numbers in your article,
    You can set the element of Restriction of case property to UPPERCASE.
    Concerning

  • the first two inches of my screen of firefox seems inadmissible is unable to click on the links or enter the scroll bar on the right side of the screen if it is at the top of two inches below the toolbar

    It seems that for some reason, I can't click on links, images or anything really in the top two inches of the screen of my internet browser, it seems like a "dead zone of all kinds."

    the toolbar is very good, and about two inches down on the screen, everything is sensitive.

    The extension of the Yahoo! toolbar reported that causes this problem.

    You can keep an eye on this thread:

  • How to always keep the names with the first capital letter

    We are starting to use the customization more and would like to have names begin with a capital letter, regardless of what that user input in a form.

    I thought that there was a rule to update that can be configured for this type of function, but now can not remember how to set up this rule in E10.  Someone at - it a readily available way?

    I found a solution for this while browsing another post.  I ended up using the manipulative String cloud connector and used the title first letter in upper case only it just in my names.

  • Withdrawal of the first two lines of the paragraph?

    Hello

    I want to have a dash on the two first lines of my paragraph, how do we make this happen? I don't seem to be possible.

    The only way I know how is the second line indented manually. But as you can imagine is not a very effective way, if it produces more than 200 hundred times

    PS: I use Indesign CS 5.5

    Thank you

    Hamid

    Schermafbeelding 2014-07-31 om 10.33.32.png

    AHA! Heymit, here's the trick that I use to do a little of the drop cap. Very simple: use a tank style!

  • With the help of tools validator for the first time.

    I do not understand what I need to fix here:

    Line 138, column 37: there is no attribute "align".

    ' < table width = "585" border = "0" align = "" " center" cellpadding = "0" cellspacing = "0" >

    You use the attribute named above in your document, but the document type, you are using does not support this attribute of this element. This error is often caused by incorrect use of document type "Strict" with a document that uses frames (e.g. you must use the "Transitional" document type to get the 'target' attribute), or using extensions such as "marginheight" owners (it is usually fixed by using CSS to achieve the effect desired instead).

    This error can also occur if the item itself is not supported in the document type, you use, as an undefined element will have no attributes supported. in this case, check the error message undefined element for more information.

    How to fix: check the spelling and case of the element and attribute, (remember XHTML is all lowercase) or check that they are both allowed in the chosen document type and/or use CSS instead of this attribute. If you receive this error when you use the < embed > element to incorporate flash in a Web page media, see the FAQ on valid flash.

    Line 144, column 24: there is no attribute 'bgcolor '.

    < td > < table bgcolor = " " " #931 C 08" width = "625" border = "0" align = "center" cellpadd...

    You use the attribute named above in your document, but the document type, you are using does not support this attribute of this element. This error is often caused by incorrect use of document type "Strict" with a document that uses frames (e.g. you must use the "Transitional" document type to get the 'target' attribute), or using extensions such as "marginheight" owners (it is usually fixed by using CSS to achieve the effect desired instead).

    This error can also occur if the item itself is not supported in the document type, you use, as an undefined element will have no attributes supported. in this case, check the error message undefined element for more information.

    How to fix: check the spelling and case of the element and attribute, (remember XHTML is all lowercase) or check that they are both allowed in the chosen document type and/or use CSS instead of this attribute. If you receive this error when you use the < embed > element to incorporate flash in a Web page media, see the FAQ on valid flash.

    If not for the use of electronic mail and then forget validation. Html email is strongly dependent on the old deprecated html attributes. What you used

    Align = 'center' and bgcolor = # "# 931 08" are perfect for html emails

    Use the Doctype "transitional" / "coward."

    http://www.w3.org/TR/html4/loose.DTD">

    or you can just go with the html5 Doctype:

  • List of files in numerical order after the first two digits

    I have scanned documents on a usb key & saved as pdf files using a 8-digit date.  When I go to open the files, they are only in the order for the 2 first digits.  How can I get adobe to put in order using all 8 digits so that they are listed in chronological order, including the day and year?

    Adobe not in numeric order question.png

    The operating system will not sort by date like this. If you look at, it IS the 'digitally' sort 'dates' are in numerical order from the smallest to the largest.
    What I'm doing to sort by date is to use this format "YYYYMMDD".

  • Get Mail does not work for more than the first two of my 5 email addresses.

    In order to access new messages for the other 3 accounts I have to select them individually.

    Menu Tools > account settings > server settings and ensure the control of this server when getting new messages is checked. (if available)

  • When I download Internet Explorer Favorites I get only the first two follders (20 or more)

    I followed the instructions in the help file and tried downloading three times with the same result.

    If you have problems with importing IE bookmarks in Firefox, then export favorites in Internet Explorer to a HTML file and import this file in the Firefox Bookmarks Manager.

    This way also preserve you a sort that you did with the Favorites in Internet Explorer and the Favorites don't end up in a folder "from Internet Explorer", but will be added at the end of the file Menu bookmarks.

    • Export Favorites in Internet Explorer to a file (bookmarks.html) HTML: file > import and export
    • Import the HTML file in Firefox: bookmarks > show all bookmarks > import and backup > import HTML: from a file

    See "Import from another browser" and "import from file":

  • my jet hp 5740 desktop prints only the first two lines and stop printing. Why?

    After opening documents and viewing, the printer only prints the title of the document.

    Hi John,.

    1. what operating system do you use?

    2. don't you make changes to the computer before the show?

    3. this happens with a particular application?

    Method 1: follow the steps described in the links below and check if that helps.

    http://Windows.Microsoft.com/en-us/Windows/help/printer-problems-in-Windows?T1=tab02

    http://Windows.Microsoft.com/en-us/Windows7/why-cant-I-print

    Method 2: Download and install drivers from the link provided below.

    http://h10025.www1.HP.com/ewfrf/wc/softwareCategory?product=357202&LC=en&cc=us&DLC=en&lang=en&cc=us

    Hope it will be useful.

  • Admin, comp. deleted the first two accounts?

    I recently got a new computer and was using the default Administrator account that came with it. I then created another administrator account and an account a few days ago. However, when I tried to log in today, only the newly created administrator and the limited account appeared in the login screen. The default Administrator account no longer appears. I can still access files I had on the old account admin through again, I created, but cannot access certain folders (access denied message). Is it possible that I can do this admin account appear on the login screen and sign on it?

    I am using windows XP pro.

    I recently got a new computer and was using the default Administrator account that came with it.

    It's a bad idea.  You must save the built-in account named Administrator to help you recover when (not if) your administrator account on the computer to the day to day is corrupt.

    To answer your question, Windows XP encourages the behavior described in the previous paragraph by removing the built-in Administrator account on the Welcome screen as soon as you create a computer administrator account.

    You should be able to access all files from your new computer administrator account, even those of the administrator.  However, if necessary, you can access administrator or start in Safe Mode or to the home screen with no other account when you are connected, press CTRL + ALT + DELETE twice to access the "classic" logon window  Enter administrator as the user and whatever password you assigned.  If you did not create a password for the administrator, the default value is empty (that is, no password).

    If despite the warning, you want to continue using the administrator, you can download TweakUI and use it to display administrator on the homescreen, links to TweakUI, directions and another method to achieve this, see http://windowsxp.mvps.org/admins.htm

Maybe you are looking for

  • Google instant search

    When this http://www.google.com/insidesearch/instant-about.html Google Instant is used, Firefox ask me whether to download a file named search. One blocks download appears for each letter I get.

  • All but two of my desktop icons disappeared

    Original title: desktop All but 2 of my desktop icons are gone... How to bring them back?

  • Windows & windows live mail

    My internet con. speed is ok. Windows live mail is very slow to respond. I often get a "windows Explorer is not responding", but in a few seconds, the window opens. These problems are related? Rmemember - this is a public forum so never post private

  • Why my audio is distorted?

    The audio on my laptop recently became distorted. Any suggestions as to why?

  • Help me, error when creating applications in the QML file

    I created a list of user interface and this error occurs, here's my whole code: import bb.cascades 1.0{Page}{To ListViewID: listviewdataModel: {XmlDataModel}Source: "people.xml".}listItemComponents:]{ListItemComponent}type: "category".{CustomLisItem}