Oracle Insert Time

Source: Internet
Author: User

Symptom: Oracle Insert time, Error: ORA-01861: text does not match format string

Workaround:

This error usually occurs on the time field, that is, the time format you inserted is inconsistent with the existing time format of the database, and the solution is to format the time you inserted: To_date (' # ', ' Yyyy-mm-dd hh24:mi:ss ')

This ORA-01861 won't be reported when this is inserted.

When using PL/SQL Developer Text Importer, you will often encounter this error, due to PL/SQL developer bug, sometimes you can not format all the date column, you need to manually format the date column

Original address: http://blog.csdn.net/wyzxg/article/details/2729507

Oracle Insert Time

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.