How rigid is the max size of a VARCHAR in SQL Server?

Posted by thinknow on Stack Overflow See other posts from Stack Overflow or by thinknow
Published on 2010-03-17T17:32:51Z Indexed on 2010/03/17 17:41 UTC
Read the original article Hit count: 235

Filed under:
|

i.e. if I create a VARCHAR(50) field, what happens if I try to assign it a value that's 100 characters long?

Will SQL Server let me do this? Is it somehow less efficient?

© Stack Overflow or respective owner

Related posts about sql-server

Related posts about varchar