ORA-02253: constraint specification not allowed here
Answers were Sorted based on User's Feedback
Answer / hala
This error occurs when you have a mistake when you write
the name of constraint for example when you write check
constraint in this manner (Status varchar2(15)
Constraint Title_Copy_Status_ch chech (Status in
('AVAILABLE,'DESTROYED','RENTED','RESERVED'))Enable
| Is This Answer Correct ? | 5 Yes | 3 No |
Answer / narendra reddy.d
EX:
CREATE TABLE SamplePK01
(
SampID NUMBER(2)
CONSTRAINT SamplePK01_SampID_PK PRIMERY KEY,
SampName VARCHAR2(20),
SampDate DATE
)
/
Instead of PRIMARY KEY,If you declare like PRIMERY KEY,U GET THE ERROR ORA-O2253
Remedy is to write the CONSTRAINT in proper manner and speling
| Is This Answer Correct ? | 3 Yes | 2 No |
Answer / guest
Cause: Constraint specification is not allowed here in the
statement.
Action: Remove the constraint specification from the statement.
Please add more information about this Error
| Is This Answer Correct ? | 1 Yes | 6 No |
ORA-24056: internal inconsistency for QUEUE string and destination string
ORA-01698: a clone database may only have SYSTEM rollback segment online
ORA-01781: UNRECOVERABLE cannot be specified without AS SELECT
DRG-11129: the rule table is empty
DRG-10900: out of memory
ORA-22627: tc [string] must be that of object/varray/nested table
ORA-22880: invalid REF
ORA-07290: sksagdi: specified directory for archiving does not exist.
NNL-00236: Statistic counter reset interval is currently string
PLS-00319: subquery in an IN or NOT IN clause must contain exactly one column
NZE-29156: conditional RNG self-test failure
ORA-28043: invalid bind credentials for DB-OID connection