摘要: DECLARE @xmlText xml ,@idoc int set @xmlText = (select doc from openrowset(bulk 'C:\Word\SRC\WebApp\Demo\XML\XMLFile.xml',single_blob) as t(doc)) --select @xmlTextEXEC sp_xml_preparedocument @idoc OUTPUT,@xmlText--insert into TB_TB_Category-- (Cid, Name, ParentCid)--select [cid],[name],[pare 阅读全文
posted @ 2013-10-30 20:48 汉城 阅读(702) 评论(0) 推荐(0) 编辑
摘要: select*fromopenrowset('sqloledb','ip';'user';'pwd','exec库..过程') 阅读全文
posted @ 2013-10-30 10:44 汉城 阅读(179) 评论(0) 推荐(0) 编辑