creation of error message in the query mode

Hello experts,
I want to create an error message in a mode of input query. Suppose I have a field date of birth and full data
in the database in this fasion January 1, 2008.

Suppose that in the mode of input query someone enter the value 01/01/2008.It is not an entry for the system. For this error, I want to create an error message.

I wrote this code

If: system.mode = "ENTER-QUERY" then
If error_type = 'FRM' and error_code = 40358
message ("Please enter date as 1 January 2008'");
end if;
end if;

The trigger, I used is KEY - EXEQRY.but, it shows no error whenever I give an entry like 01/01/2008.


can you please what wrong with the coding.

Concerning
Mehdi

Yes, the trigger for the error.

DECLARE
  err_code NUMBER := ERROR_CODE;
  err_type VARCHAR2(3) := ERROR_TYPE;
  msg VARCHAR2(2000) := ERROR_TEXT;
BEGIN
  IF err_code = 40358 AND err_type = 'FRM' THEN
    message('please enter date as 01-jan-2008');
  ELSE
    message(err_type||'-'||to_char(err_code)||': '||msg);
  END IF;

  RAISE FORM_TRIGGER_FAILURE;
END;

The fact that the 'Fire in Enter Query Mode' option is set to Yes (palette property).

Tags: Oracle Development

Similar Questions

  • error message in the terminal window

    I created a new profile. And, in doing so, you work with a terminal window.

    During this process, I noticed this error message when I use FF
    I receive the error message in the terminal window and I can confirm that I see what you were using a new profile or old

    "Socket error [AGENT]: [object [object event] XrayWrapper]; readyState = 3. Maybe Helper does not work on xxxx or stop? "Console.Error: onepassword:"

    XX is a number - do not know if has been deprived so xxx.

    What does this message mean?
    I have problems connecting with 2 services I use. I can't even log a new question in my old account of support of ff. I have EDT cleared the cache, cookies, history, started in safe mode.
    I restarted the router.

    but nothing works
    ideas?

    I also have
    -restarted my system.
    -retested, and the message appears only when I use firefox

    EDIT
    solved by uninstalling the related to the addon of 1password desktop application. Desktop application is the mac version of 1password.

  • HP 15-g020dx: I got an error message "operating system Boot Mode changed."

    I had got an error message on the boot image and I came here, telling me to change the startup parameters to the legacy that I did, but I might be able to register the change because he could do nothing except "esc", which had to cancel the change type. What should I do?

    Hello

    When you change the boot mode and are then invited to enter a 4-digit PIN, there will be no display of the numbers that you type for security reasons - just type in the numbers and press ENTER.

    Kind regards

    DP - K

  • I get an error message at the beginning: "Problem starting C:\Program Data\IntelBackup Online.dll"

    Original title: I get an error message at the beginning upward:

    "Problem starting C:\Program Data\IntelBackup Online.dll" under this line, it is said: 'the Spicific mode is not found' how can I fix?

    Hello

    ·         What operating system do you use?

    ·         Were there recent changes made on the computer before the show?

    Follow these steps and check if that helps.

    Step 1:

    Check if you have the similar problem with safe mode, otherwise you can try to put your computer to a State of clean boot in normal mode and check if that helps:

    Start your computer in safe mode

    http://Windows.Microsoft.com/en-us/Windows7/start-your-computer-in-safe-mode

     

     

    Step 2:

    Follow the article to perform the clean boot on the computer:

    How to troubleshoot a problem by performing a clean boot in Windows Vista and Windows 7

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

     

    Warning: After using the boot is a way to solve your problem step 7 follow-up to reset the computer to start as usual.

  • I had (screen attached) error message during the installation of "Silverlight_Developer.exe".

    I had (screen attached) error message during the installation of "Silverlight_Developer.exe". Please do the needful.
    Operating system: Windows XP

    Hello

    I suggest you to send your query forums Microsoft Silverlight to enhance assistance about the Silverlight developer issue.

    http://forums.Silverlight.NET/

     

    http://www.Silverlight.NET/community

  • How can I get help outlook express? When I send a mail, I get an error message indicating the e-mail was sent not.

    Had problems with Outlook Express.  When I send a mail, I get an error message indicating the e-mail was sent not.  The e-mail has been sent, but it never leaves the output area.  I have to go and delete the e-mail.  Then I don't have a folder of e-mails, except in my deleted file.
    Any help would be appreciated.

    You have apparent dbx file corruption.

    Spend most of your messages out of the Inbox and then create new folders to send and sent items box after having moved the messages you want to save to a local folder that you create.

    Tools | Options | Maintenance | Store folder will reveal the location of your Outlook Express files. Note the location and navigate on it in Explorer Windows or, copy and paste in start | Run.

    In Windows XP, Win2K & Win2K3 the OE user files (DBX and WAB) are by default marked as hidden. To view these files in Windows Explorer, you must enable Show hidden files and folders under start | Control Panel | Folder Options icon | Opinion, or in Windows Explorer. Tools | Folder options | View.

    With OE closed, find the DBX files for the items in the Outbox and sent and delete them.  New ones will be created automatically when you open OE.

    After you're done, followed by compacting your folders manually while working * off * and do it often.

    Click Outlook Express at the top of the the folder tree so no folders are open. Then: File | Work offline (or double-click on work online in the status bar). File | Folder | Compact all folders. Don't touch anything until the compacting is completed.

    General precautions for Outlook Express:

    Do not archive mail in the receipt or sent items box. Create your own user-defined folders and move messages you want to put in them. Empty the deleted items folder daily. Although the dbx files have a theoretical capacity of 2 GB, I recommend all a 300 MB max for less risk of corruption.

    Information on the maximum size of the .dbx files that are used by Outlook Express:
    http://support.Microsoft.com/?kbid=903095

    Disable analysis in your e-mail anti-virus program. It is a redundant layer of protection that devours the CPUs, slows down sending and receiving and causes a multitude of problems such as time-outs, account setting changes and has even been responsible for the loss of messages. Your up-to-date A / V program will continue to protect you sufficiently. For more information, see:
    http://www.oehelp.com/OETips.aspx#3

    Why you don't need your anti-virus to scan your email
    http://thundercloud.NET/infoave/tutorials/email-scanning/index.htm

    Note that for some AV programs, it may be necessary to uninstall the program and reinstall in custom Mode and uncheck analysis when the option is the result of e-mail messages.

    Compact often as specified above.

    And backup often.

    Outlook Express Quick Backup (OEQB Freeware)
    http://www.oehelp.com/OEBackup/default.aspx

  • Outlook Express 6 problem: send an email I get an error message and the email is not put in the sent items folder

    Outlook Express 6, Windows XP SP 3

    Problem: send an email, I get an error message and the email is not put in the sent items folder while the email (and attachments, if any) are successfully delivered to the recipient.

    The full error message is always useful, but I'm sure you have damaged dbx files.

    Spend most of your messages out of the Inbox and then create new folders to send and sent items box after having moved the messages you want to save to a local folder that you create.

    Tools | Options | Maintenance | Store folder will reveal the location of your Outlook Express files. Note the location and navigate on it in Explorer Windows or, copy and paste in start | Run.

    In Windows XP, Win2K & Win2K3 the OE user files (DBX and WAB) are by default marked as hidden. To view these files in Windows Explorer, you must enable Show hidden files and folders under start | Control Panel | Folder Options icon | Opinion, or in Windows Explorer. Tools | Folder options | View.

    With OE closed, find the DBX files for the items in the Outbox and sent and delete them.  New ones will be created automatically when you open OE.

    After you're done, followed by compacting your folders manually while working * off * and do it often.

    Click Outlook Express at the top of the the folder tree so no folders are open. Then: File | Work offline (or double-click on work online in the status bar). File | Folder | Compact all folders. Don't touch anything until the compacting is completed.

    General precautions for Outlook Express:

    Do not archive mail in the receipt or sent items box. Create your own user-defined folders and move messages you want to put in them. Empty the deleted items folder daily. Although the dbx files have a theoretical capacity of 2 GB, I recommend all a 300 MB max for less risk of corruption.

    Information on the maximum size of the .dbx files that are used by Outlook Express:
    http://support.Microsoft.com/?kbid=903095

    Disable analysis in your e-mail anti-virus program. It is a redundant layer of protection that devours the CPUs, slows down sending and receiving and causes a multitude of problems such as time-outs, account setting changes and has even been responsible for the loss of messages. Your up-to-date A / V program will continue to protect you sufficiently. For more information, see:
    http://www.oehelp.com/OETips.aspx#3

    Why you don't need your anti-virus to scan your email
    http://thundercloud.NET/infoave/tutorials/email-scanning/index.htm

    Note that for some AV programs, it may be necessary to uninstall the program and reinstall in custom Mode and uncheck analysis when the option is the result of e-mail messages.

    Compact often as specified above.

    And backup often.

    Outlook Express Quick Backup (OEQB Freeware)
    http://www.oehelp.com/OEBackup/default.aspx

  • C3086UA #A8A: Error Message on the laptop computer says driver is not available and device error

    I tried to print from my laptop, a HP Pavilion G7, and nothing happened I went in devices and saw an error message on the PC icon.  He showed me the yellow exclamation point and says driver is unavailable and driver error.  The icon of the printer showed it's OK with the green check mark. I am an older person with not much technical experience and would appreciate any help on how to solve this problem with the drivers. Thanks for any help you can provide.

    Paul

    Hi @doowop47 ,

    Thank you for your query.

    I'm not sure if it is a printer problem or a problem of computer as you said that the error is on the PC icon not the icon of the printer.
     
    Unfortunately, I was unable to locate your model of laptop Pavilion G7 since the number you provided. This link should help with that.

    How can I find my model number or product number?

    Were there any recent changes?

    You did all your Windows updates?

    Have you tried to run the HP Support Assistant to help with the updates from HP.

    If it worked before you tried to do a restore to a date well known?

    You can also try a Refresh Your PC to solve problems (Windows 8)

    If it is a printer problem, and it is not an HP printer, it would be preferable for you to post in the constructor for the instance of printers.

    If it's an HP printer, please provide your exact name and model.

    Good luck!

  • My phone displays an error message on the startup file and it mentions the installation media, how can I solve this problem?

    Separated from this thread.

    My phone displays an error message on the startup file and it mentions the installation media, how can I solve this problem?

    Hello

    See if that helps you.

    Do a Safe Mode system restore to before the problem started.

    http://bertk.MVPs.org/html/restoresysv.html

    How to access Safe Mode

    http://www.bleepingcomputer.com/tutorials/how-to-start-Windows-in-safe-mode/#Vista

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    If it doesn't, try a startup repair and / or a system restore using a DVD of Vista from Microsoft

    Manufacturers recovery disks normally do not have Service Options; they are normally a relocation to the factory only settings option.

    Here is the guide to repair Options using a Vista DVD from Microsoft.

    If a friend or a work acquantance of yours has one, you can borrow and use it for repairs.

    http://www.bleepingcomputer.com/tutorials/repair-Windows-with-Windows-Startup-Repair/

    Table of contents

    1. Overview of Windows Vista repair options
    2. How to perform an automatic repair of Windows Vista using Startup Repair
    3. Advanced Tools Overview
    4. Conclusion

    If you do not or can not borrow a Microsoft DVD there is a download of a file ISO of Vista Startup Repair available that you can put on a Bootable floppy to make the above startup repair and that the method is recommended by a large number of posters in these Forums.

    Unfortunately, you have to buy it.

    Here is a link to it:

    http://NeoSmart.net/blog/2011/Windows-Recovery-discs-updated-reinstated/

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    There are several methods to reinstall Vista.

    This can help you (download files and make your own DVDs):

    http://www.heidoc.NET/Joomla/technology-science/Microsoft/57-Windows-Vista-direct-download-links

    And here are instructions on how to burn ISO disk images:

    http://www.SnapFiles.com/get/isorecorder.html

    The download links and information on how to make the ISO file, and then create the Setup DVD above are at this link:

    "How to download a Vista ISO and create a Setup DVD or USB"

    http://www.Vistax64.com/tutorials/301852-Vista-ISO-download-create-installation-DVD-USB.html

    "How to create a USB of Vista Installation key '

    http://www.Vistax64.com/tutorials/181538-USB-bootable-Vista-installation-Flash-thumb-drive.html

    ___________________________________

    You can contact your computer manufacturer and ask them to send you a set of recovery disks.

    They should do this for a small fee.

    To reinstall Vista using their recovery disk/s, you start from the 1st recovery disk they provide and follow the manufacturer's instructions to reinstall:

    You need to change the Boot order to make the DVD/CD drive 1st in the boot order:

    How to change the Boot order in BIOS:

    http://pcsupport.about.com/od/fixtheproblem/SS/bootorderchange.htm

    "How to replace Microsoft software or hardware, order service packs and replace product manuals.

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

    ___________________________________

    And if you have never received a recovery disk when you bought your computer, there should be a recovery on the drive Partition hard reinstall Windows how much you bought your computer.

    The recovery process can be started by pressing a particular combination of the key or keys at startup. (Power on / start)

    Maybe it's F10, F11, Alt + F10, etc., depending on the manufacturer.

    Them or us ask the right sequence of key.

    ___________________________________

    Some manufacturers have more available Vista recovery disks.

    If this happens, you may need to try this instead:

    You can also borrow and use a Microsoft Vista DVD, which contains the files for the different editions of Vista (Home Basic, Home Premium, Business and Ultimate) must be installed. The product key on your computer / Laptop box determines what Edition is installed.

    Other manufacturers recovery DVDs are should not be used for this purpose.

    And you need to know the version of 'bit' for Vista, as 32-bit and 64-bit editions come on different DVDs

    Here's how to do a clean install of Vista using a DVD of Vista from Microsoft:

    "How to do a clean install and configure with a full Version of Vista '

    http://www.Vistax64.com/tutorials/117366-clean-install-full-version-Vista.html

    And once the operating system is installed, go to your computer manufacturer's website and get the latest drivers for your particular model or laptop computer.

    And phone Activation may be necessary when you use the above installation method.

    "How to activate Vista normally and by Activation of the phone '

    http://www.Vistax64.com/tutorials/84488-activate-Vista-phone.html

    See you soon.

  • Error message indicating the r300 display driver stopped responding when using the full screen.

    Original title: driver atikmdag error message when using the full screen.

    Error message indicating the display driver r300 unresponsive, but has recovered, usually when enter full screen mode.

    Hi Peterrichardson,

    1. when exactly you get this message?

    2. what player do you use?

    3. you remember to make changes to the computer before this problem?

    Method 1:

    You can try to reduce the hardware acceleration and check.

    a. click the Start button, Control Panel.

    b. now, select appearance and personalization, and under display, select adjust screen resolution.

    c. now, select adjust the resolution.

    d. click Advanced settings.

    e. now, click the Troubleshooting tab, and select the change settings button.

    f. in the Security dialog box, click on continue.

    g. move the hardware acceleration slider to the third notch.

    h. click OK and restart Windows.

     

    Method 2: Update your display driver

    Updated a hardware driver that is not working properly

    Hope this information is useful.

  • Turning on the laptop computer error message reads "the user profile Service service has no logon. __

    The error message reads "the user profile Service service has no logon.

    User profile cannot be loaded.

    Thanks have tried but can't boot from a fix it for me or set me.

    Go to Safe Mode with networking

    Here's how to get safe mode:

    Shut down your computer > turn it back on and immediately and repeatedly tab key F8 until you see a black and white screen. The top/down arrow and select Mode safe mode with networking

    You can log into your own account in safe mode?
    If so, you remember the date when you did NOT have this problem?
    If so, this date no more than 10 to 15 days ago?
    If so, again, please do a restore of the system in safe mode.

    How to restore the system:
    Start button > Search box, type system restore > press the Enter key > uac prompt > click on choose a different restore point > next > select dates as your restore point, until the click > next > finish
    To sit and wait. The machine restarts when it's done.

    Once completed, restart your machine and see if you can log in to your account in NORMAL mode.

    For the benefits of others looking for answers, please mark as answer suggestion if it solves your problem.

  • I want my procedure to return the error message in the batch file

    Hi team,

    I have a requirement from users of the company. Could you please provide your suggetsion to achieve this.

    We have a batch file that is short on time, in this batch file, I'll call you a SQL script.

    In the SQL script, I called you a procedure to run.

    Inside the procedure, I have the following statement,

    Select, insert and update commands.

    and I use ANOTHER exception to handle errors.

    My requirement is to pass the error messages for the batch file when one of the orders was not not run and send a notification e-mail to the group with the error text.

    Please provide your suggestion.

    Thank you and best regards,

    Robette.

    Could you please tell me, inside the procedure I have to remove the OTHER exception and how I can pass the value to the command file and where I add the content of the e-mail notification.

    I suggest that you write modular code instead.

    1. create a log table

    2 modify the procedure to log on to the error log table or exceptions

    3. that others suggest have the recovery/return procedure an exception in the client/batch file

    4. for an exception have the batch file to call a procedure to do the emailing if there were exceptions

    IMHO, it's a MISTAKE to try to put all these features in a single file. It is NOT scalable and makes it almost impossible to update the batch file if the requirements change in the future.

    Logging should be a separate process with a separate log table so that you can capture ALL of the information that may be necessary, now or in the future. Enter information in a table of newspaper, it is EASY for ANYONE to query to see what problems are occurring in the process.

    Emailing should be a separate process so that it can be used for your batch file current, files of future orders or even by procedures or functions in the database.

    Do not try to create a solution "a script does everything."

  • ORA-04031: unable to allocate 32 bytes of shared memory ('shared pool'.  Check your error messages for the cause of the error. (= < POINTER >)

    Dear team,

    We have for instance R12.

    DB - 11.2.0.3

    12.1.2 - application

    in this concurrent instance depressed frequently when checking of log file showing the error as

    List of errors encountered:

    .............................................................................

    _ 1 _

    Systematic FDPCRQ met an ORACLE error. ORA-04031: unable to

    allocate 32 bytes of shared memory ('shared pool'.

    Check your error messages for the cause of the error. (= < POINTER >)

    .............................................................................

    APP-FND-01388: cannot read the value for the profile FND_MGR_STRTUP_THRES_TIME option in the routine, and routine.

    List of errors encountered:

    .............................................................................

    _ 1 _

    Routine AFPCAL has received the code of failure while running or analysis of your

    simultaneous program CPMGR


    Examine your log file of concurrent application for more information.

    Make sure that you pass arguments in the correct format.

    Post: WARNING: mail_queue_enter: create file maildrop / 379309.437: permission denied

    Please guide me to solve this problem.

    Concerning

    Kumar V

    Dear Kumar,

    I suggest you to check the FND_NODES table

    1) connect to SQLPLUS as the APPS user and execute the following statement:

    Select CONCURRENT_QUEUE_NAME in the FND_CONCURRENT_QUEUES where CONCURRENT_QUEUE_NAME like '% FNDSM ';

    (2) If you have found that FND_NODES table with entries incorrect node (old node from the Source Instance), and then run the query to clean below

    EXEC FND_CONC_CLONE. SETUP_CLEAN;
    COMMIT;

    (3) then run AutoConfig on all stages, firstly on the DB layer then APPS and webtiers levels to repopulate the necessary system tables,

    and make sure that you are now able to see the correct entries in the FND_NODES table and start the application services.

    Kind regards

    S27

  • Remove the Error Messages in the content server

    Hi all

    In the model of my area, I'm running the code that determines if a file with a given content ID exists in the content server. The code works well, and the template renders as I expect. However, whenever I load the page, I get an error message in the content server if a file does not exist.

    Here is the code I'm running inside my model that checks for the existence of the file.

    <!-$dDocName = contentID & "_S"->

    <!-$executeService ("DOC_INFO_BY_NAME")->

    <! - $if StatusCode == 0 - >

    <!-DO SOMETHING->

    <!-$endif->

    Can I wrap this code in that would eliminate all errors that can see the content server? Obviously, I like to keep logging turned on, but I'm a bit of a "boy who cried wolf" situation going on right now in my logs.

    I appreciate any thoughts.

    Thank you

    Josh

    In fact, I changed my IdocScript to use a different Service, GET_SEARCH_RESULTS. This Service does not throw an error if the query fails, then it will not obstruct my logs. Here is my code if someone else is looking for a quick solution of the IdocScript test if a content item exists or not.

    content item exists

    This is probably a rather unorthodox solution, but the simplicity of IdocScript really shines when you realize how functionally private it really is.

    Thank you

    Josh

  • Firefox will not start after the upgrade to 27. Seen an error message during the upgrade process.

    Firefox will not start after the upgrade to 27. Seen an error message during the upgrade process, but do not remember.
    Tried running firefox.exe Pei but error message:

    XML parsing error: the undefined entity
    Location: chrome://mozapps/content/profile/profileSelection.xul
    Line 18, column 1:
    "< dialog < =" "^ =" "p =" "> < / dialogue >

    Running on Windows XP SP3. No problem whatsoever before moving to 27. Sending of Chrome that I can't open Firefox at all.

    Thank you, jschaer2000. In the meantime, he works. How long, we'll see ;-)

Maybe you are looking for