Ora-01745:invalid host/bind Variable name error

Source: Internet
Author: User

It was found on the Internet.

Occasionally, a strongly typed TableAdapter update (table) method always complains (ora-01745:invalid host/bind variable name). --Invalid host/assignment variable name error.

Most of the answers you find online are this:

Ora-01745:invalid host/bind Variable Name
Cause:a Colon in A bind variable or into specification is followed by a inappropriate name, perhaps A

Reserved word.
Action:change the variable name and retry the operation.

Make a long, also can not solve, the last step of tracking debugging, is the variable name problem.

Finally suddenly remembered, some time ago encountered a query can not perform the problem, then the reason is that my variable is called "RESOURCE", meaning: the amount of resources. As a result, this is an Oracle keyword. At that time, add a "" and put that problem to the past.

No, this time it's still a problem.

After you have corrected this field to "resources", the problem is resolved.

You must not use resource and other keywords as field names ...

My question is almost also using Oracle's keyword, which is written in the SQL statement.

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.