CREATE TABLE OPERSEMCUSTOROP (
  CDTIPOOPER VARCHAR2(2) NOT NULL, 
  IDENTRSAID VARCHAR2(1) NOT NULL, 
  NRORG NUMBER(10) DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg') NOT NULL, 
  IDATIVO VARCHAR2(1) DEFAULT 'S' NOT NULL, 
  DTINCLUSAO DATE DEFAULT NULL NULL, 
  DTULTATU DATE DEFAULT NULL NULL, 
  NRORGINCLUSAO NUMBER(10) DEFAULT 1 NULL, 
  CDOPERINCLUSAO VARCHAR2(12) DEFAULT '1' NULL, 
  NRORGULTATU NUMBER(10) DEFAULT 1 NULL, 
  CDOPERULTATU VARCHAR2(12) DEFAULT '1' NULL
)

/

ALTER TABLE OPERSEMCUSTOROP ADD CONSTRAINT PK_DESCARTIPOOPER PRIMARY KEY (CDTIPOOPER, IDENTRSAID)