CREATE TABLE PARAMMERCADUM (
    
    NRORG             	 NUMBER 	  	DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg') NOT NULL,
	IDULTINTEGRAMERCADUM VARCHAR2(1)  	NOT NULL
		CONSTRAINT CKC_IDULTINTMERCADUM CHECK (IDULTINTEGRAMERCADUM IN ('S','N')),
	IDINTGPEDCOL      	 VARCHAR2(1)  	NOT NULL
		CONSTRAINT CKC_IDINTGPEDCOL CHECK (IDINTGPEDCOL IN ('S','N')),
	IDINTGAUTOFORN    	 VARCHAR2(1)  	NOT NULL
		CONSTRAINT CKC_IDINTGAUTOFORN CHECK (IDINTGAUTOFORN IN ('S','N')),
	IDTIPOAUTOFORN    	 VARCHAR2(1)  	NOT NULL
		CONSTRAINT CKC_IDTIPOAUTOFORN CHECK (IDTIPOAUTOFORN IN ('M','A', 'B')),
	IDINTGCONTPAG     	 VARCHAR2(1)   	NOT NULL
		CONSTRAINT CKC_IDINTGCONTPAG CHECK (IDINTGCONTPAG IN ('S','N')),
	IDINTGNOTIFIC     	 VARCHAR2(1)  	NOT NULL
		CONSTRAINT CKC_IDINTGNOTIFIC CHECK (IDINTGNOTIFIC IN ('S','N')),
	DSTOKENINTGECO    	 VARCHAR2(50) 	NOT NULL,
	DSWEBSERVICE  	 	 VARCHAR2(50)  	NOT NULL,
    DTINCLUSAO        	 DATE          	DEFAULT SYSDATE,
    DTULTATU          	 DATE          	DEFAULT SYSDATE,
    NRORGINCLUSAO     	 NUMBER        	DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg') NULL,
    CDOPERINCLUSAO    	 VARCHAR2(12)  	DEFAULT '1',
    NRORGULTATU       	 NUMBER        	DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg') NULL,
    CDOPERULTATU      	 VARCHAR2(12)  	DEFAULT '1',
	IDATIVO           	 VARCHAR2(1)   	DEFAULT 'S' NOT NULL
		CONSTRAINT CKC_IDATIVO_PARAMMERCADUM CHECK (IDATIVO IN ('S','N')),
		CONSTRAINT PK_PARAMMERCADUM PRIMARY KEY(NRORG)
 )
 /