摘要: 在更新一批记录时使用如下语句:updatepublishsetcontentid=(selecttop1articles.contentidfromarticleswherearticles.articleID=publish.objectID)--wherepublish.objectid=@objectID前提是:publish表的记录不能大于Article的记录,即要插入的目标表中示能插入n... 阅读全文
posted @ 2009-04-21 15:32 肚肚 阅读(257) 评论(0) 推荐(0)