摘要: ALTER FUNCTION [dbo].[ChangeCharToTable](@InStatement NVARCHAR(MAX))RETURNS @InTable TABLE ( Id int not null primary key clustered)ASBEGIN DECLARE @XML as xml set @XML='<t><i>' + REPLACE(@InStatement,',','</i><i>') + '</i></t>' INSE 阅读全文
posted @ 2012-05-25 13:30 s80895304 阅读(175) 评论(0) 推荐(0) 编辑