: "System. Data. OracleClient. OracleException: ORA-06550: 1st rows, 7th columns: \ nPLS-00306: Call 'me

Source: Internet
Author: User
ORACLE prompt: "System. data. oracleClient. oracleException: ORA-06550: 1st rows, 7th columns: \ nPLS-00306: number of parameters or type error when calling 'xxxxxx' \ nORA-06550: 1st rows, 7th columns: \ nPL/SQL: statement ignored \ n \ r \ n Error

Recently, ORACLE databases have been called for plug-ins, and ORACLE has never been used before. However, since it is developed by others, then I can only pull the ORACLE database. During the development process, everything is normal for the program. However, I encountered a problem when calling the stored procedure. I always reported an error in column 7 of the first row. At first, I thought that the parameter was not set correctly, but let's see if all types are the same. It's been bundled for a long time .. Finally, a friend's blog says:

Catch bugs: "System. data. oracleClient. oracleException: ORA-06550: 1st rows, 7th columns: \ nPLS-00306: number of parameters or type error when calling 'Meeting _ NOTICE_CREATE '\ nORA-06550: 1st rows, 7th columns: \ nPL/SQL: statement ignored \ n \ r \ n this error has been tossing me for a long time (several hours), and then throw it to one side. Today, one parameter is excluded and the reason is finally known. T.T

The attribute of the object class does not have an initial value. This error occurs when the null value is inserted. So remember to assign a value. Set string to string. empty.

His URL is: http://www.cnblogs.com/syveen/archive/2007/09/07/885229.html

After reading this, I suddenly looked at it. ORACLE was very strict with data transfer. In the past, when I was doing SQL server, I often wrote NULL for some values, but ORACLE was not good, so I immediately passed the modification test!

The network is really a good resource. If a friend has just encountered such a problem with ORACLE, you may want to check whether it is the problem. This may save you a lot of time.

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.