CREATE TABLE ALTERAPRODSPED( 
   NRSEQALTPRODSPED    	VARCHAR2(10)        NOT NULL,
   CDPRODUTO           	VARCHAR2(21)        NOT NULL,
   CDCAMPO             	VARCHAR2(02)       	NOT NULL
 	CONSTRAINT CKC_CDCAMPO_ALTERAPRODSPED CHECK (CDCAMPO IN ('02','05')),
   DTINICIAL           		DATE                   	NULL, 
   DTALTERACAO         	DATE                   	NOT NULL,
   DTENVIASPED         	DATE                   	NULL,
   DTENVEFDCONTR       	DATE                   	NULL,
   DSCONTEUDOANT       	VARCHAR2(200)      NULL,
   NRORG                       	NUMBER DEFAULT 	 SYS_CONTEXT('nrorg_ctx','nrorg') NOT NULL,
   IDATIVO             		VARCHAR2(1)         	DEFAULT 'S' NOT NULL
	CONSTRAINT CKC_IDATIVO_ALTERAPRODSPED 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_ALTERAPRODSPED PRIMARY KEY (NRSEQALTPRODSPED)
)