CREATE TABLE PARAMEMPREINF 
(
  CDEMPRESA           		VARCHAR2(02) 		NOT NULL, 
  NRCLASSTRIBUT       		NUMBER      		NULL,
  IDESCRITURECD       		VARCHAR2(01) 		DEFAULT '0' NOT NULL
      CONSTRAINT CKC_IDESCRITURECD_PARAMEMP CHECK(IDESCRITURECD in ('0','1')),   
  IDDESONERACAO       	VARCHAR2(01) 		DEFAULT '0' NOT NULL
      CONSTRAINT CKC_IDDESONERACAO_PARAME CHECK (IDDESONERACAO in ('0','1')),   
  IDACORDISENMULTA    	VARCHAR2(01) 		DEFAULT '0' NOT NULL
      CONSTRAINT CKC_IDACORDISENMULTA_PARAME CHECK (IDACORDISENMULTA in ('0','1')),   
  IDSITUPJ            		VARCHAR2(01)		DEFAULT '0' NOT NULL
      CONSTRAINT CKC_IDSITUPJ_PARAME CHECK (IDSITUPJ in ('0','1','2','3','4')),           
  CDREPRES           		 VARCHAR2(02) 		NULL,
  DTINIVALIDADE     		DATE NOT 		NULL,
  DTFINVALIDADE  		DATE 			NULL,
  CDVERSAO            		VARCHAR2(05) 		NULL,
  IDAMBIENTE	      	VARCHAR2(01) 		NULL
	CONSTRAINT CKC_IDAMBIENTE_PARAME CHECK (IDAMBIENTE IN ('1','2','3')),
  CDSENHACERTDIG      	VARCHAR2(100) 		NULL,
  IDLOCALSERVIDOR     	VARCHAR2(01) 		NULL
       CONSTRAINT CKC_IDLOCALSERVIDOR_PARAME CHECK (IDLOCALSERVIDOR IN ('L','T')),  
   DSDIRCERTIFICADO  	VARCHAR2(500) 		NULL, 
   NRORG              		NUMBER  			DEFAULT 1   NOT NULL,
   IDATIVO            		VARCHAR2(1)		DEFAULT 'S' NOT NULL
     	CONSTRAINT CKC_IDATIVO_PARAME CHECK (IDATIVO IN ('S','N')),
   DTINCLUSAO         		DATE           		NULL,
   DTULTATU           		DATE           		NULL, 
   NRORGINCLUSAO      	NUMBER         		DEFAULT 1   NULL,
   CDOPERINCLUSAO     	VARCHAR2(12)   		DEFAULT '1' NULL, 
   NRORGULTATU        		NUMBER         		DEFAULT 1   NULL,
   CDOPERULTATU      		VARCHAR2(12)   		DEFAULT '1',  
	CONSTRAINT PK_PARAMEMPREINF PRIMARY KEY (CDEMPRESA)
)