Database Administration (MOSC)

MOSC Banner

ORA-01801: date format is too long for internal buffer

edited Apr 4, 2016 10:22AM in Database Administration (MOSC) 6 commentsAnswered

Hi all,

a query used to return 1248 records from 3 GB subPartitioned table, is return only few records and then broke with ORA-01801.

I checked the out put and saw that the column VON_ZT (DATE FORMAT) NOT NULL is a part of multi columns primary key, but the out put of this column is not in date format and some of them without data.

select * from table

where firma = '03'

   and datum >= trunc(sysdate, 'year') + 29

   and filiale = 3798;

FIFILIALE DATUM PERIOD TK ABT_NR PE VON_ZTBIS_ZT      WERT ERST_DATZ

-- ---------- --------- ------ -- ---------- -- --------- --------- ---------- ---------

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