To prevent that, SQL Server set the default value of the recursion level ... FROM Split WHERE endpos > 0 ) SELECT 'Value' = SUBSTRING(@String,stpos,COALESCE(NULLIF(endpos,0),LEN(@String)+1)-stpos) FROM Split ) This type of function is sometimes used ...
↧