Fixed logic in vefn_GetROTokens to find RO Tokens for testing.

This commit is contained in:
Rich 2013-12-02 21:35:11 +00:00
parent 500c5d224c
commit 15e33d2320

View File

@ -7201,7 +7201,7 @@ WHILE (LEN(@text) > 0)
BEGIN
INSERT INTO @Tokens VALUES (substring(@text, @index,@index2-@index))
if(len(@text) > @index2)
SET @text = RIGHT(@text, (LEN(@text) - @index2))
SET @text = substring(@text, @index2 , len(@text))
else
SET @Text = ''
END