日期:2014-05-17 浏览次数:20694 次
create table cl
(TA001 int, TA002 int,TA003 int,TA004 int,TA006 int,TA007 varchar(10),
TA031 varchar(8),UDF05 varchar(2))
insert into cl
select 511,1307160303,10,1,11,'车间一','20130722','Y' union all
select 511,1307160303,20,76,10,'车间二','20130826','Y' union all
select 511,1307160304,10,76,10,'车间二','','' union all
select 511,1307160304,20,19,10,'车间二', '', '' union all
select 511,1307160304,30,44,10,'车间二','','' union all
select 511,1307160304,40,53,10,'车间二','20130826','Y' union all
select 511,1307160304,50,15,13,'车间三','20130828','Y' union all
select 511,1307160305,10,15,13,'车间三','','' union all
select 511,1307160305,15,154,13,'车间三','20130831','Y' union all
select 511,1307160311,10,1,11,'车间一','20130724','Y' union all
select 511,1307160313,10,1,11,'车间一','20130717','Y' union all
select 511,1307160313,20,76,10,'车间二','20130807','Y' union all
select 511,1307170001,80,12,13,'车间三','','' union all
select 511,1307170001,90,13,13,'车间三','20130823','Y' union all
select 511,1307170001,100,15,13,'车间三','','' union all
select 511,1307170002,10,1,11,'车间一','20130922','Y'
TA001 TA002 TA003 TA004 TA006 TA007 TA031 UDF05
511 1307160303 20 76 10 车间二 20130826 Y
511 1307160304 10 76 10 车间二
511 1307160304 20 19 10 车间二
511 1307160304 30 44 10 车间二
511 1307160304 40 53 10 车间二 20130826 Y
511 1307160304 50 15 13 车间三 20130828 Y
511 1307160305 10 15 13 车间三
511 1307160305 15 154 13 车间三 20130831 Y
511 1307160313 20 76 10 车间二 20130807 Y
511 1307170001 80 12 13 车间三
511 1307170001 90 13 13 车间三 20130823 Y
511 1307170001 100 15 13 车间三
create table cl
(TA001 int, TA002 int,TA003 int,TA004 int,TA006 int,TA007 varchar(10),
TA031 varchar(8),UDF05 varchar(2))
insert into cl
select 511,1307160303,10,1,11,'车间一','20130722','Y' union all
select 511,130716030