PL/SQL (MOSC)

MOSC Banner

Getting ORA-01840: input value not long enough for date format Error

edited May 23, 2009 3:25AM in PL/SQL (MOSC) 4 commentsAnswered
Hi All,


This is one of the strange errors I have come across in Oracle.
 We have Special Information Types in Oracle HRMS and we store different values in SIT segments. We include certain dates as well in these segments ( per_analysis_criteria table). Though the segments are of datatype VARCHAR2, the date values get stored in below format :
'YYYY/MM/DD HH24:MI:SS'


e.g. Segment 4 ( Passport Valid From) : 2009/05/01 00:00:00
        Segment 5 ( Passport Valid to) : 2010/05/01 00:00:00

We developed multiple views for reporting purpose for SIT data. View SQL :

SELECT ppa.person_id, fifs.id_flex_num, fifs.id_flex_code,
          fifs.id_flex_structure_code, fifst.id_flex_structure_name,

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center