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-12083: must use DROP MATERIALIZED VIEW to drop "string"."string"
ORA-16128: User initiated shut down successfully completed
DRG-12219: section name missing
NCR-03002: NCRO: Maximum number of contexts has been reached
ORA-30195: reserved for future use
ORA-12233: TNS:Failure to accept a connection
ORA-08206: ora_addr: cannot translate address file name
ORA-09318: slkhst: unable to host out to operating system
ORA-19585: premature end of volume on piece string
ORA-32502: Cannot execute command. Flash Freeze is not in effect
ORA-09708: soacon: failed to bind socket to port.
DRG-50926: invalid text query string