CREATE TABLE GRUPOPCONT (
	CDGRUPOPER 			VARCHAR2(2) 	NOT NULL,
	NRPERFILACESSO 		NUMBER 			NOT NULL,
	NRORG 				NUMBER 			DEFAULT SYS_CONTEXT('nrorg_ctx', 'nrorg') NOT NULL,
	IDATIVO 			VARCHAR2(1) 	DEFAULT 'S' NOT NULL 
		CONSTRAINT CKC_IDATIVO_GRUPOPCONT CHECK (IDATIVO IN ('S','N')),
	DTINCLUSAO 			DATE NULL,
	DTULTATU 			DATE NULL,
	NRORGINCLUSAO 		NUMBER 			DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg')		NULL,
	NURGULTATU 			NUMBER 			DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg') NULL,
	CDOPERULTATU 		VARCHAR2(12) 	DEFAULT '1' NULL,
		CONSTRAINT PK_GDODC PRIMARY KEY (CDGRUPOPER, NRPERFILACESSO)
)
/