Create a trigger to report the loss of the IN or OUT parameter: 1 IN the index.

Source: Internet
Author: User


Create a trigger and report that the IN or OUT parameters are lost IN the index: 1. Use the "Oracle Enterprise Manager Console" trigger editor to report "lost IN or OUT parameters IN the index :: 1 "error. The specific SQL statement is: [SQL] CREATE OR REPLACE TRIGGER "MYDB ". "AA_TEST" before insert on "AA_TEST" for each row declare num NUMBER (10): = 0; BEGIN www.2cto.com select count (*) INTO num FROM AA_TEST WHERE ST_NAME =: NEW. ST_NAME; END; The above error is reported as long as the trigger body contains the NEW keyword. You can use "SQL * Plus Worksheet" to create a trigger. It seems that the "Oracle Enterprise Manager Console" trigger editor has a bug. Version: 10.2.0.0.0 official version. From the wayz11 Column

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.