create table A (a datetime,b int,c int)
insert A values ('2003-10-30', 10 , 20)
insert A values('2003-10-31', 25, 29)
select a,b from A union (select a,c from A)
--(影響 4 個資料列)
2003-10-30 00:00:00.000 10
2003-10-30 00:00:00.000 20
2003-10-31 00:00:00.000 25
2003-10-31 00:00:00.000 29