摘要:
--go--create function fn_split(@str nvarchar(4000), @delimiter nvarchar(1))--returns @tempData table (slice nvarchar(4000))--as--begin--declare @index int --declare @slice nvarchar(4000)--if LEN(@str)<1 or @str is null return--set @index=charindex(@delimiter,@str)--while(@index<>0)--begin-- 阅读全文
posted @ 2012-04-27 21:43
mjg
阅读(288)
评论(0)
推荐(0)
摘要:
declare @country xml set @country =( select * from openrowset(bulk 'D:\TEMP\country_iso.xml',single_clob) as xmldata)insert XMLData (RawXml) values(@country ) 阅读全文
posted @ 2012-04-27 19:53
mjg
阅读(146)
评论(0)
推荐(0)
摘要:
Cross Apply ,nodes ,xpath 阅读全文
posted @ 2012-04-27 19:45
mjg
阅读(348)
评论(0)
推荐(0)

浙公网安备 33010602011771号