39 |
|
|
40 |
CREATE TABLE `GL_RESURS_OFFSET` ( |
CREATE TABLE `GL_RESURS_OFFSET` ( |
41 |
`ID` int(10) unsigned NOT NULL auto_increment, |
`ID` int(10) unsigned NOT NULL auto_increment, |
42 |
`FROM_ORBIT` int(10) unsigned NOT NULL default '0', |
`FROM_ORBIT` int(10) unsigned NOT NULL default '0' COMMENT 'SELECT YEAR(OFFSET_DATE),MONTH(OFFSET_DATE),DAY(OFFSET_DATE),HOUR(OFFSET_DATE),MINUTE(OFFSET_DATE),SECOND(OFFSET_DATE),ID FROM GL_RESURS_OFFSET WHERE FROM_ORBIT< " << dworbit << " AND SPECIAL_FILE="" order by FROM_ORBIT desc limit 1;', |
43 |
`SPECIAL_FILE` varchar(255) NOT NULL default '', |
`SPECIAL_FILE` varchar(255) NOT NULL default '', |
44 |
`OFFSET_DATE` timestamp default '0000-00-00 00:00:00', |
`OFFSET_DATE` timestamp default '0000-00-00 00:00:00', |
45 |
`INSERT_TIME` timestamp NOT NULL default CURRENT_TIMESTAMP, |
`INSERT_TIME` timestamp NOT NULL default CURRENT_TIMESTAMP, |
91 |
INSERT INTO GL_RESURS_OFFSET VALUES(0,'0','18160_152_001_cln1.pam','2009-06-10 21:00:00',NULL); |
INSERT INTO GL_RESURS_OFFSET VALUES(0,'0','18160_152_001_cln1.pam','2009-06-10 21:00:00',NULL); |
92 |
INSERT INTO GL_RESURS_OFFSET VALUES(0,'0','18160_153_001_cln1.pam','2009-06-10 21:00:00',NULL); |
INSERT INTO GL_RESURS_OFFSET VALUES(0,'0','18160_153_001_cln1.pam','2009-06-10 21:00:00',NULL); |
93 |
INSERT INTO GL_RESURS_OFFSET VALUES(0,'18150','','2009-09-09 21:00:00',NULL); |
INSERT INTO GL_RESURS_OFFSET VALUES(0,'18150','','2009-09-09 21:00:00',NULL); |
94 |
|
INSERT INTO GL_RESURS_OFFSET VALUES(0,'0','19526_072_001_cln1.pam','2009-09-09 21:00:00',NULL); |
95 |
|
INSERT INTO GL_RESURS_OFFSET VALUES(0,'0','19539_073_001_cln1.pam','2009-09-09 21:00:00',NULL); |
96 |
|
INSERT INTO GL_RESURS_OFFSET VALUES(0,'19525','','2009-12-08 21:00:00',NULL); |
97 |
|
|
98 |
|
|
99 |
|
|
856 |
INSERT INTO GL_RESURS_OFFSET VALUES(0,'0','18160_152_001','2009-06-10 21:00:00',NULL); |
INSERT INTO GL_RESURS_OFFSET VALUES(0,'0','18160_152_001','2009-06-10 21:00:00',NULL); |
857 |
INSERT INTO GL_RESURS_OFFSET VALUES(0,'0','18160_153_001','2009-06-10 21:00:00',NULL); |
INSERT INTO GL_RESURS_OFFSET VALUES(0,'0','18160_153_001','2009-06-10 21:00:00',NULL); |
858 |
|
|
859 |
|
INSERT INTO GL_RESURS_OFFSET VALUES(0,'0','19526_072_001','2009-09-09 21:00:00',NULL); |
860 |
|
INSERT INTO GL_RESURS_OFFSET VALUES(0,'0','19539_073_001','2009-09-09 21:00:00',NULL); |
861 |
|
|
862 |
|
|
863 |
|
|
864 |
drop table if exists dbname.ROOT_TABLE_MERGING ; |
drop table if exists dbname.ROOT_TABLE_MERGING ; |