无痕客

落花无情,流水无痕……

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2010年7月28日

摘要: SQL复制数据表 (select * into 与 insert into)select * into 目标表名 from 源表名insert into 目标表名(fld1, fld2) select fld1, 5 from 源表名以上两句都是将 源表 的数据插入到 目标表,但两句又有区别的:第一句(select into from)要求目标表不存在,因为在插入时会自动创建。 第二句(inser... 阅读全文
posted @ 2010-07-28 13:40 无痕客 阅读(80567) 评论(5) 推荐(2) 编辑