I have stored procedure When I execute them with 20000 char in input that work fine (in stored procedure I declare variable nvarchar(max) ) But when I execute under another procedure with the same parameter I have that the error
(I used the same type of variable)