CREATE TABLE xonstat.cd_ladder ( ladder_cd serial NOT NULL, name character varying(100) NOT NULL, descr character varying(200) NOT NULL, create_dt timestamp without time zone NOT NULL DEFAULT (current_timestamp at time zone 'UTC'), start_dt date NOT NULL, end_dt date NOT NULL, active_ind boolean NOT NULL DEFAULT true, CONSTRAINT cd_ladder_pk PRIMARY KEY (ladder_cd) ) WITH ( OIDS=FALSE ); ALTER TABLE xonstat.cd_ladder OWNER TO xonstat;