|
It was wrong
1. import excel file
create table temp (time period c (10), A c (10), b c (10) c c (10))
use temp
append from file name.xls xl5
2. Convert file format
select time period, 'a' content, a percentage from temp into table bak1
select time period, 'b' content, b percentage from temp into table bak2
select time period, 'c' content, c percentage from temp into table bak3
select * from bak1 into table temp
use temp EXCLUSIVE
append from bak2
append from bak3 |
|