Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Why is nvarchar(max) size limited to 4000 characters

$
0
0

Im using SQL Server 2012 and in my stored procedure, I am using a dynamic sql with a variable with nvarchar(max) datatype. And my query length is more than 4000 characters and it is showing error. Check this screenshot

how do I solve this problem.


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>