Use Update... Returning... Why is into ORA-01036, ORA-24369 error?

Source: Internet
Author: User
I am using the large object field storage feature of Oracle in the Process of Oracle development using ado.net, but encountered a lot of trouble during the process,
Share it with you.
Adding columns containing large object fields to the server is basically normal, but the problem arises during the update.

When command.exe cutenonquery () is executed, two typical Oracle exceptions are thrown:

  • ORA-01036: Illegal variable name/number (invalid variable name/List)

This exception is thrown. In most cases, the parameters set in the statement are not bound at runtime, or the number of parameters does not match (for example, if two parameters are set, only one result is bound ), this situation is well judged. In another case, when the update... returning... into statement is executed, the data row that matches the where condition has been deleted, which also causes this problem.

  • ORA-24369: Required callbacks not registered for one or more bind handles (no callback required for registration of one or more connection handles)

This exception is caused mainly because the data rows that match the where condition are not unique during update... returning... into, which leads to the failure to locate the Oracle lob locator correctly.

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.