CREATE TABLE CLASSTRIBUT
(
    NRCLASSTRIBUT 		NUMBER		 	NOT NULL,
    DSCLASSTRIBUT 		VARCHAR2(200) 		NOT NULL,
    CDESOCIAL	    	VARCHAR2(2)		NULL,
    NRORG          		NUMBER        		DEFAULT 1   NOT NULL,
    IDATIVO         		VARCHAR2(1)		DEFAULT 'S' NOT NULL
       CONSTRAINT CKC_IDATIVO_CLASSTRIBUT 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_CLASSTRIBUT PRIMARY KEY (NRCLASSTRIBUT)
)