CREATE TABLE PARAMGERALVEN
(
  CDPARAMGERALVEN 	VARCHAR2(4)  NOT NULL,
  NRORG 			NUMBER 		 DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg') NOT NULL,
  IDCUSSUPFILIVEN 	VARCHAR2(1)  DEFAULT 'N' NOT NULL
    CONSTRAINT CKC_IDCUSSUPFILIVEN_PARGERVEN CHECK (IDCUSSUPFILIVEN IN ('S','N')),
  NRDIASDEFSINBC 	VARCHAR2(2)  NULL,
  IDATIVO 			VARCHAR2(1)  DEFAULT 'S' NOT NULL,
    CONSTRAINT CKC_IDATIVO_PARAMGERALVEN CHECK (IDATIVO IN ('S','N')),
  DTINCLUSAO 		DATE 		 DEFAULT SYSDATE,
  DTULTATU 			DATE 		 DEFAULT SYSDATE,
  NRORGINCLUSAO 	NUMBER 		 DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg') NULL,
  CDOPERINCLUSAO 	VARCHAR2(12) DEFAULT '1' NULL,
  NRORGULTATU 		NUMBER 		 DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg')  NULL,
  CDOPERULTATU  	VARCHAR2(12) DEFAULT '1',
	CONSTRAINT PK_PARAMGERALVEN PRIMARY KEY (CDPARAMGERALVEN)
)
/ 