数据导入与导出。
create database db1use db1GOCREATE TABLE table1(tid int not null,tname varchar(50) not null,tvalue varchar(50) not null)GOCREATE TABLE table2(tid int not null,tname varchar(50) not null)GOinsert table2(tid,tname)select 1,'数据1' unionselect 2,'数据2' unionselect 3,'数据3'
insert into table1 select *,'你的默认值' from table2