Oracle DB Error ORA-01758 table must be empty to add mandatory (NOT NULL) column

Oracle DB Error ORA-01758 table must be empty to add mandatory (NOT NULL) column

The following is the cause of this error:

It is not possible to define a new column as NOT NULL if rows already exist in the table being modified.

Action you can take to resolve this issue: Retry the statement without the NOT NULL specification.


Tags: Database, Microsoft, SQL, Oracle, Software, DBMS




Disclaimer:Pak/ed and the contributors are not responsible for any errors contained and are not liable for any damages resulting from the use of this material.  Disclaimer


Related

Home      Disclaimer      Advertise      Contact      Privacy Policy     

Copyright © 2004-16 Paked.com. All rights reserved.

Note: Site best viewed at 1024 x 768 or higher screen resolution