摘要: --临时表 insert into ##table([column1],S1, S2,S3)VALUES('VALUE','VALUE','VALUE','VALUE') --把原S1, S2,S3列名 作为 star字段的内容,S1, S2,S3的数据放到qty字段中 insert into ta 阅读全文
posted @ 2016-06-02 14:13 ETLeung 阅读(1006) 评论(0) 推荐(0) 编辑
摘要: insert into table_A([column],[column],[column]) select column,column,columnfrom table_Bwhere ...order by ... 阅读全文
posted @ 2016-06-02 09:35 ETLeung 阅读(2140) 评论(0) 推荐(0) 编辑