Viewing 5 posts - 1 through 5 (of 5 total)
will see your response 2moro... off to home..
November 27, 2013 at 6:47 am
while searching this issue over the internet I have come across an assertion as, On concatenating nvarchar + navarchar, it will truncate at 4000 characters.
I have check this limitation on...
November 27, 2013 at 6:45 am
@tSprocSQL1 is initialized as a blank string.
DECLARE @tSprocSQL1 nvarchar(max)
SET @tSprocSQL1 = N' '
November 27, 2013 at 6:35 am
It seems the problematic query truncates data above 4000 bytes.
it does not giving error, but truncating the data.
November 27, 2013 at 5:31 am
what is the limitation of concatenation which is causing below issue?
Any help?
This query does not work:
SET @tSprocSQL1 = @tMidSQL1+@tMidSQL2+@tMidSQL3+@tMidSQL4+@tMidSQL5+@tMidSQL6+@tMidSQL7+@tMidSQL8+@tMidSQL9+@tMidSQL10+@tEndSproc+ CHAR(13);
Whereas query works:
SET @tSprocSQL1 = @tMidSQL1+@tMidSQL2+@tMidSQL3+@tMidSQL4+@tMidSQL5+@tMidSQL6+@tMidSQL7+@tMidSQL8
SET @tSprocSQL1 = @tSprocSQL1+@tMidSQL9+@tMidSQL10+@tEndSproc+ CHAR(13);
___________________________________________________________
@tSprocSQL1 -...
November 27, 2013 at 4:19 am
Viewing 5 posts - 1 through 5 (of 5 total)