Interview Questions

What is the maximum length of a varchar in SQL Server?

.NET Database ,COM interop,and .NET deployment questions and answers


(Continued from previous question...)

What is the maximum length of a varchar in SQL Server?

Answer1
VARCHAR[(n)]
Null-terminated Unicode character string of length n,
with a maximum of 255 characters. If n is not supplied, then 1 is assumed.

Answer2
8000

Answer3
The business logic is the aspx.cs or the aspx.vb where the code is being written. The presentation logic is done with .aspx extention.

(Continued on next question...)

Other Interview Questions