Viewing 4 posts - 1 through 4 (of 4 total)
thank you very much!
February 9, 2012 at 1:51 am
Thanks SSChampion.
I know about concat over XML.
I want to know the reason for this behavior stranngo.
February 8, 2012 at 10:39 pm
Fast, but not good. (
DECLARE @inputString varchar(MAX) = '1<i>;2;4;5;'
Result of exec is 'XML parsing: line 1, character 97257, unexpected end of input'.
You need check input string.
February 25, 2011 at 3:14 am
Small Code for 2008 SQL. )
CREATE FUNCTION dbo.fn_Split
(
@InputString VARCHAR(MAX),
@Delimiter VARCHAR(MAX)
)
RETURNS @data TABLE (
Data VARCHAR(MAX)
)
AS
BEGIN
DECLARE @DelimitierLen BIGINT = LEN(@Delimiter)
DECLARE @DelimiterCharIndex BIGINT = CHARINDEX(@Delimiter,@InputString)
WHILE...
February 25, 2011 at 2:54 am
Viewing 4 posts - 1 through 4 (of 4 total)