摘要: A common, standard SQL way of doing this is:UPDATE dest_table t1SETfield1 = (select field1 from src_table t2 where t2.pk = t1.pk),field2 = (select field2 from src_table t2 where t2.pk = t1.pk),...etc.WHERE EXISTS (select 1 from src_table t2 where t2.pk = t1.pk)If you are using Firebird 2, you can us 阅读全文
posted @ 2011-11-04 20:56 与时俱进 阅读(477) 评论(0) 推荐(0) 编辑
友情链接:同里老宅院民居客栈