摘要:
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 阅读全文