[Solved] C# Error ORA 00907: Missing Right Parenthesis


This works:

CREATE TABLE TBL_TD_USER    
(    
 USER_ID       INTEGER NOT NULL ,    
 USER_NAME     VARCHAR2(20) NOT NULL,    
 PASSWORD      VARCHAR2(20) NOT NULL,    
 CREATED_BY    VARCHAR2(20) NOT NULL,    
 CREATED_DATE  DATE NOT NULL,    
 MODIFIED_BY   VARCHAR2(20) NOT NULL,    
 MODIFIED_DATE DATE NOT NULL,    
 IS_ACTIVE     VARCHAR2(1) NOT NULL,    
 DESCRIPTION   VARCHAR2(200) NOT NULL,    
 CONSTRAINT TBL_TD_USER PRIMARY KEY (USER_ID)    
);
  • There’s no variable type named CHARACTER in oracle, as an alternative, you to use VARCHAR2 with length value in parenthesis.
  • You can use INTEGER type without length.

demo

0

solved C# Error ORA 00907: Missing Right Parenthesis