My Oracle Support Banner

ORA-01401 While Creating Materialized View (Doc ID 302355.1)

Last updated on MARCH 10, 2020

Applies to:

Oracle Database - Enterprise Edition - Version 9.2.0.5 and later
Information in this document applies to any platform.

Symptoms

ORA-01401 While creating materialized view


SQL>CREATE MATERIALIZED VIEW MV1 
  BUILD IMMEDIATE
  REFRESH FORCE
  START WITH TRUNC(SYSDATE) + 21/24
  NEXT TRUNC(LEAST(NEXT_DAY(SYSDATE,'MONDAY'),
  NEXT_DAY(SYSDATE,'TUESDAY'),
  NEXT_DAY(SYSDATE,'WEDNESDAY'),
  NEXT_DAY(SYSDATE,'THURSDAY'),
  NEXT_DAY(SYSDATE,'FRIDAY'),
  NEXT_DAY(SYSDATE,'SATURDAY'),
  NEXT_DAY(SYSDATE,'SUNDAY'))) + 21/24
  AS
  SELECT DISTINCT empno from emp;

ERROR at line 13:
ORA-01401: inserted value too large for column

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.