flyfaraway

云端漫步

导航

2011年1月29日

摘要: flyfaraway笔记之 -------SQL2005对XML的处理1、记录到XML变量declare @cxml xmlset @cxml=(select * from zd_storeP for XML RAW('store'),ROOT('stores'))select @cxml2、XML到记录集方法一:用OPENXML 90000条记录速度测试,22s,16s,16sdeclare @cxml xml,@nxml intset @cxml=(select * from zd_storeP for XML RAW('store'),ROOT('stores')) --大概1ssele 阅读全文

posted @ 2011-01-29 22:30 flyfaraway 阅读(2006) 评论(0) 推荐(2)