Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Using CURRENT_TIMESTAMP for default value results in "ORA-01830: date format picture ends before con

oatsJun 26 2016 — edited Jun 26 2016

I have not been able to find a simple solution to this after searching. I have a form which updates a table and two of the columns are timestamp data type. I want DATEC to be set to the current time of the record creation, and I want DateM to be updated to the current time at record creation and at each record modification. On the page designer for both fields I have set default to plsql expression "CURRENT_TIMESTAMP"; I change both fields on the form to display only.

When I try to add a record I get this error:

"ORA-01830: date format picture ends before converting entire input string"

From what I've read this has to do with the form submitting a string into the column or something of that order, the explanation was over my head.

Is there a simple fix for this seemingly simple need?

This post has been answered by PMON on Jun 26 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 24 2016
Added on Jun 26 2016
4 comments
2,864 views