String length constraints must be in range (1 .. 32767)

Source: Internet
Author: User

The following error occurs during storage write:

I checked some network resources but did not solve the problem. Why do I always prompt that there is a problem with the String length? Clearly, the length of the input String is very short. Let's take a closer look, it is found that the stored procedure directly writes the varchar2 type in the defined string statement after the as. It is clear that the varchar2 length needs to be defined.

Write it as follows:

1 create or replace procedure Sp_SendMyEmail (v_From in varchar2, v_To in varchar2, v_Subject in varchar2, v_Body in varchar2) 2 as3 v_Cc varchar2 (20): = NULL; 4 v_Bcc varchar2 (20): = NULL;

 

No.

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.