CREATE TABLE CARTCREDCONS 
(
  	CDCARTCRED	VARCHAR2(21) 	NOT NULL, 
	NRSEQBANDEIRA 	VARCHAR2(10) 	NOT NULL,
	CDCLIENTE	VARCHAR2(21)	NOT NULL,
 	CDCONSUMIDOR 	VARCHAR2(21) 	NOT NULL,
 	NRULTNUM 	VARCHAR2(4)	NOT NULL, 
 	DTEXPIRACAO 	DATE 		NOT NULL,
 	DSTOKEN 	VARCHAR2(128) 	NOT NULL,
 	IDTPCARTCRED 	VARCHAR2(1) 	NOT NULL,
		CONSTRAINT CKC_IDTPCARTCRED_CARTCREDCONS CHECK (IDTPCARTCRED IN ('P','O')),
 	NMTITULAR 	VARCHAR2(50),
	NRORG 		NUMBER 		DEFAULT 1,
	IDATIVO	        VARCHAR2(1)   	DEFAULT 'S'	NULL,
		CONSTRAINT CKC_IDATIVO_CARTCREDCONS CHECK (IDATIVO IN ('S','N')),
	DTINCLUSAO      DATE        	NULL,
	DTULTATU        DATE        	NULL,
	NRORGINCLUSAO   NUMBER       	NULL,
	CDOPERINCLUSAO  VARCHAR2(12)  	NULL,
	NRORGULTATU     NUMBER       	NULL,
	CDOPERULTATU    VARCHAR2(12)  	NULL
)