
CREATE TABLE "D122E   "."T_RULE_SAMPLE_MGR"  (
		  "RULEID" VARCHAR(50 OCTETS) NOT NULL , 
		  "LASTCRONTIME" TIMESTAMP NOT NULL , 
		  "CRONRESULT" INTEGER , 
		  "CRONCOUNT" DOUBLE)   
		 IN "USERSPACE1"  
		 ORGANIZE BY ROW  ;
ALTER TABLE "D122E   "."T_RULE_SAMPLE_MGR" 
	ADD CONSTRAINT "T_RULE_SAMPLE_MGR_PK" PRIMARY KEY
		("RULEID",
		 "LASTCRONTIME") ;

GRANT CONTROL ON TABLE "D122E   "."T_RULE_SAMPLE_MGR" TO USER "D122E   "  ;

CREATE TABLE "D122E   "."T_RULE_SAMPLE_1D_FLATTEN"  (
		  "RULEID" VARCHAR(50 OCTETS) NOT NULL , 
		  "LASTUPDATE" TIMESTAMP NOT NULL , 
		  "AVGX1" DOUBLE , 
		  "STDDEVX1" DOUBLE , 
		  "MINX1" DOUBLE , 
		  "MAXX1" DOUBLE,
		  "skewnessX1" DOUBLE,
		  "exKurtosisX1" DOUBLE )   
		 IN "USERSPACE1"  
		 ORGANIZE BY ROW  ;
ALTER TABLE "D122E   "."T_RULE_SAMPLE_1D_FLATTEN" 
	ADD CONSTRAINT "T_RULE_SAMPLE_1D_FLATTEN_PK" PRIMARY KEY
		("RULEID",
		 "LASTUPDATE") ;

GRANT CONTROL ON TABLE "D122E   "."T_RULE_SAMPLE_1D_FLATTEN" TO USER "D122E   "  ;

CREATE TABLE "D122E   "."T_RULE_SAMPLE_2D_FLATTEN"  (
		  "RULEID" VARCHAR(50 OCTETS) NOT NULL , 
		  "LASTUPDATE" TIMESTAMP NOT NULL , 
		  "AVGX1" DOUBLE , 
		  "STDDEVX1" DOUBLE , 
		  "MINX1" DOUBLE , 
		  "MAXX1" DOUBLE , 
		  "AVGX2" DOUBLE , 
		  "STDDEVX2" DOUBLE , 
		  "MINX2" DOUBLE , 
		  "MAXX2" DOUBLE )   
		 IN "USERSPACE1"  
		 ORGANIZE BY ROW  ;
ALTER TABLE "D122E   "."T_RULE_SAMPLE_2D_FLATTEN" 
	ADD CONSTRAINT "T_RULE_SAMPLE_2D_FLATTEN_PK" PRIMARY KEY
		("RULEID",
		 "LASTUPDATE") ;

GRANT CONTROL ON TABLE "D122E   "."T_RULE_SAMPLE_2D_FLATTEN" TO USER "D122E   "  ;

CREATE TABLE "D122E   "."T_RULE_SAMPLE_3D_FLATTEN"  (
		  "RULEID" VARCHAR(50 OCTETS) NOT NULL , 
		  "LASTUPDATE" TIMESTAMP NOT NULL , 
		  "AVGX1" DOUBLE , 
		  "STDDEVX1" DOUBLE , 
		  "MINX1" DOUBLE , 
		  "MAXX1" DOUBLE , 
		  "AVGX2" DOUBLE , 
		  "STDDEVX2" DOUBLE , 
		  "MINX2" DOUBLE , 
		  "MAXX2" DOUBLE ,
          "AVGX3" DOUBLE , 
		  "STDDEVX3" DOUBLE , 
		  "MINX3" DOUBLE , 
		  "MAXX3" DOUBLE )   
		 IN "USERSPACE1"  
		 ORGANIZE BY ROW  ;
ALTER TABLE "D122E   "."T_RULE_SAMPLE_3D_FLATTEN" 
	ADD CONSTRAINT "T_RULE_SAMPLE_3D_FLATTEN_PK" PRIMARY KEY
		("RULEID",
		 "LASTUPDATE") ;

GRANT CONTROL ON TABLE "D122E   "."T_RULE_SAMPLE_3D_FLATTEN" TO USER "D122E   "  ;

CREATE TABLE "D122E   "."T_RULE_SAMPLE_1D_APPROXIMATE_INFO"  (
		  "RULEID" VARCHAR(50 OCTETS) NOT NULL , 
		  "LASTUPDATE" TIMESTAMP NOT NULL , 
		  "CELLRANGE1" DOUBLE , 
		  "RSSAVED1" DOUBLE)   
		 IN "USERSPACE1"  
		 ORGANIZE BY ROW  ;
ALTER TABLE "D122E   "."T_RULE_SAMPLE_1D_APPROXIMATE_INFO" 
	ADD CONSTRAINT "T_RULE_SAMPLE_1D_APPROXIMATE_INFO_PK" PRIMARY KEY
		("RULEID",
		 "LASTUPDATE") ;

GRANT CONTROL ON TABLE "D122E   "."T_RULE_SAMPLE_1D_APPROXIMATE_INFO" TO USER "D122E   "  ;

CREATE TABLE "D122E   "."T_RULE_SAMPLE_2D_APPROXIMATE_INFO"  (
		  "RULEID" VARCHAR(50 OCTETS) NOT NULL , 
		  "LASTUPDATE" TIMESTAMP NOT NULL , 
		  "CELLRANGE1" DOUBLE , 
		  "RSSAVED1" DOUBLE,
          "CELLRANGE2" DOUBLE , 
		  "RSSAVED2" DOUBLE)   
		 IN "USERSPACE1"  
		 ORGANIZE BY ROW  ;
ALTER TABLE "D122E   "."T_RULE_SAMPLE_2D_APPROXIMATE_INFO" 
	ADD CONSTRAINT "T_RULE_SAMPLE_2D_APPROXIMATE_INFO_PK" PRIMARY KEY
		("RULEID",
		 "LASTUPDATE") ;

GRANT CONTROL ON TABLE "D122E   "."T_RULE_SAMPLE_2D_APPROXIMATE_INFO" TO USER "D122E   "  ;

CREATE TABLE "D122E   "."T_RULE_SAMPLE_3D_APPROXIMATE_INFO"  (
		  "RULEID" VARCHAR(50 OCTETS) NOT NULL , 
		  "LASTUPDATE" TIMESTAMP NOT NULL , 
		  "CELLRANGE1" DOUBLE , 
		  "RSSAVED1" DOUBLE,"CELLRANGE2" DOUBLE , 
		  "RSSAVED2" DOUBLE,"CELLRANGE3" DOUBLE , 
		  "RSSAVED3" DOUBLE)   
		 IN "USERSPACE1"  
		 ORGANIZE BY ROW  ;
ALTER TABLE "D122E   "."T_RULE_SAMPLE_3D_APPROXIMATE_INFO" 
	ADD CONSTRAINT "T_RULE_SAMPLE_3D_APPROXIMATE_INFO_PK" PRIMARY KEY
		("RULEID",
		 "LASTUPDATE") ;

GRANT CONTROL ON TABLE "D122E   "."T_RULE_SAMPLE_3D_APPROXIMATE_INFO" TO USER "D122E   "  ;


CREATE TABLE "D122E   "."T_RULE_SAMPLE_1D_APPROXIMATE"  (
		  "RULEID" VARCHAR(50 OCTETS) NOT NULL , 
		  "LASTUPDATE" TIMESTAMP NOT NULL , 
		  "X1" DOUBLE NOT NULL , 
		  "FLAG" INTEGER,
          "COUNT" BIGINT)   
		 IN "USERSPACE1"  
		 ORGANIZE BY ROW  ;
ALTER TABLE "D122E   "."T_RULE_SAMPLE_1D_APPROXIMATE" 
	ADD CONSTRAINT "T_RULE_SAMPLE_1D_APPROXIMATE_PK" PRIMARY KEY
		("RULEID",
		 "X1") ;

GRANT CONTROL ON TABLE "D122E   "."T_RULE_SAMPLE_1D_APPROXIMATE" TO USER "D122E   "  ;



CREATE TABLE "D122E   "."T_RULE_SAMPLE_2D_APPROXIMATE"  (
		  "RULEID" VARCHAR(50 OCTETS) NOT NULL , 
		  "LASTUPDATE" TIMESTAMP NOT NULL , 
		  "X1" DOUBLE NOT NULL, 
		  "X2" DOUBLE NOT NULL, 
		  "FLAG" INTEGER,
          "COUNT" BIGINT)   
		 IN "USERSPACE1"  
		 ORGANIZE BY ROW  ;
ALTER TABLE "D122E   "."T_RULE_SAMPLE_2D_APPROXIMATE" 
	ADD CONSTRAINT "T_RULE_SAMPLE_2D_APPROXIMATE_PK" PRIMARY KEY
		("RULEID",
		 "X1",
		 "X2") ;

GRANT CONTROL ON TABLE "D122E   "."T_RULE_SAMPLE_2D_APPROXIMATE" TO USER "D122E   "  ;


CREATE TABLE "D122E   "."T_RULE_SAMPLE_3D_APPROXIMATE"  (
		  "RULEID" VARCHAR(50 OCTETS) NOT NULL , 
		  "LASTUPDATE" TIMESTAMP NOT NULL , 
		  "X1" DOUBLE NOT NULL,
		  "X2" DOUBLE NOT NULL, 
		  "X3" DOUBLE NOT NULL, 
		  "FLAG" INTEGER,
          "COUNT" BIGINT)   
		 IN "USERSPACE1"  
		 ORGANIZE BY ROW  ;
ALTER TABLE "D122E   "."T_RULE_SAMPLE_3D_APPROXIMATE" 
	ADD CONSTRAINT "T_RULE_SAMPLE_3D_APPROXIMATE_PK" PRIMARY KEY
		("RULEID",
		 "X1",
		 "X2",
		 "X3") ;

GRANT CONTROL ON TABLE "D122E   "."T_RULE_SAMPLE_3D_APPROXIMATE" TO USER "D122E   "  ;


CREATE TABLE "D122E   "."T_RULE_SAMPLE_1D_RAW"  (
		  "RULEID" VARCHAR(50 OCTETS) NOT NULL , 
		  "LASTUPDATE" TIMESTAMP NOT NULL , 
		  "X1" DOUBLE , 
		  "FLAG" INTEGER)   
		 IN "USERSPACE1"  
		 ORGANIZE BY ROW  ;
ALTER TABLE "D122E   "."T_RULE_SAMPLE_1D_RAW" 
	ADD CONSTRAINT "T_RULE_SAMPLE_1D_RAW_PK" PRIMARY KEY
		("RULEID",
		 "LASTUPDATE") ;

GRANT CONTROL ON TABLE "D122E   "."T_RULE_SAMPLE_1D_RAW" TO USER "D122E   "  ;


CREATE TABLE "D122E   "."T_RULE_SAMPLE_2D_RAW"  (
		  "RULEID" VARCHAR(50 OCTETS) NOT NULL , 
		  "LASTUPDATE" TIMESTAMP NOT NULL , 
		  "X1" DOUBLE , 
		  "X2" DOUBLE , 
		  "FLAG" INTEGER,
          "COUNT" BIGINT)   
		 IN "USERSPACE1"  
		 ORGANIZE BY ROW  ;
ALTER TABLE "D122E   "."T_RULE_SAMPLE_2D_RAW" 
	ADD CONSTRAINT "T_RULE_SAMPLE_2D_RAW_PK" PRIMARY KEY
		("RULEID",
		 "LASTUPDATE") ;

GRANT CONTROL ON TABLE "D122E   "."T_RULE_SAMPLE_2D_RAW" TO USER "D122E   "  ;


CREATE TABLE "D122E   "."T_RULE_SAMPLE_3D_RAW"  (
		  "RULEID" VARCHAR(50 OCTETS) NOT NULL , 
		  "LASTUPDATE" TIMESTAMP NOT NULL , 
		  "X1" DOUBLE ,
		  "X2" DOUBLE , 
		  "X3" DOUBLE , 
		  "FLAG" INTEGER,
          "COUNT" BIGINT)   
		 IN "USERSPACE1"  
		 ORGANIZE BY ROW  ;
ALTER TABLE "D122E   "."T_RULE_SAMPLE_3D_RAW" 
	ADD CONSTRAINT "T_RULE_SAMPLE_3D_RAW_PK" PRIMARY KEY
		("RULEID",
		 "LASTUPDATE") ;

GRANT CONTROL ON TABLE "D122E   "."T_RULE_SAMPLE_3D_RAW" TO USER "D122E   "  ;

