Hi Experts,
I have a basic doubt. Since varchar(max) supports upto 2 GB data, why I am unable to define varchar(8001). If I have 10000 characters in a column, why should I go for varchar(max), why can't I declare varchar(10000).
Though varchar allocates the memory dynamically, why I am unable to define greater then 8000.
Please give me complete explanation....
Regards,
T.N.Nagasundar.
Why I am unable to define varchar(8001) in sql server 2008
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.


Shivanand ArurRank #920 · 2.3K reputationPosted Sep 23, 2012, 12:08 AM EDT
Check out this article... This will help you.
http://stackoverflow.com/questions/3682821/difference-between-varchar500-vs-varcharmax-in-sql-server
If my answer has helped you, then please mark it as ACCEPTED