Database Administration (MOSC)

MOSC Banner

ORA-01722 : Invalid Number

edited Jan 31, 2013 9:37AM in Database Administration (MOSC) 3 commentsAnswered
  Hi
One of the queries a user runs on a regular basis has started failing with an invalid number error after a periodic archival of records from one table.  This did not happen when the data was archived in a similar fashion 6 months ago.
Following is the archival process followed to avoid excessive redo log generation:

Table to be archived : EVENTS

All the records eligible for archival are inserted with nologging into EVENTS_HIST.
All the rows that don't have to be archived are inserted from EVENTS into a temporary table.
EVENTS table is truncated.
All the rows that should be in EVENTS as current records are inserted back from the temporary table to EVENTS table.

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