Insert xml to DB Column

declare @country xml
set @country =( select *
from openrowset(bulk 'D:\TEMP\country_iso.xml',single_clob) as xmldata
)
insert XMLData (RawXml) values
(@country )

原文地址:https://www.cnblogs.com/mjgb/p/2474100.html