Some Oracle features implement statement processing methods

Source: Internet
Author: User

Triggers and sequences
CREATE OR REPLACE TRIGGER t_mstb_bds_data before INSERT on mstb_bds_data for each rowdeclare integrity_ ERROR EXCEPTION; ERRNO INTEGER; ErrMsg CHAR (n); DUMMY INTEGER; FOUND BOOLEAN; BEGIN SELECT Seq_mstb_bds_data. Nextval INTO:NEW.data_id from dual;-- ERRORS handlingexception when integrity_error then raise_ Application_Error (ERRNO, errmsg); END; create sequence Seq_mstb_bds_dataminvalue 1maxvalue 9999999999999999999999999999start with 1increment by 1cache 21;

Insert HTML format statement Implementation method A word Gencun data is in the following format: <input type= ' Radio '  name= ' IDs '  value= ' $ '/>insert into Mstb_bds_data (data _id, NAME_TC) VALUES (' + ', ' <input type= ' | | ' Radio '  name= ' | | ' IDs '  value= ' | | ' The '/> ' format for such  is implemented as follows: INSERT INTO Mstb_bds_data ( NAME_TC) VALUES ('  '); insert into Mstb_bds_data (NAME_TC) VALUES (' <textarea cols= ' | | ' ' rows= ' | | ' >);

Some Oracle features implement statement processing methods

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.