SQL Language (MOSC)

MOSC Banner

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

edited Sep 28, 2011 11:48PM in SQL Language (MOSC) 24 commentsAnswered ✓
Hi ,

While executing

UPDATE W_HRZ SET COMPLETE_DT = to_number(to_char(to_date(to_char(service_dt_wid),'YYYYMMDD')-120,'YYYYMMDD'));

I am facing below error

ERROR at line 1:
ORA-01840: input value not long enough for date format

Can somebody help me.

Thanks

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