Five Minute Tutorial This tutorial uses XML. Note that the library is not specifically bound to XML, and any other supported format (such as INI or JSON) could be used instead. XML was chosen because the author thinks that wide range of people is fam
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, N
// QueryNodes.cpp : Defines the entry point for the console application. // #include <stdio.h> #include <tchar.h> #include <msxml6.h> // Macro that calls a COM method returning HRESULT value. #define CHK_HR(stmt) do { hr=(stmt); if (FAIL