Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

DataType.NVarCharMax Property

Gets a data type that specifies the VarCharMax definition used in the data type.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
public static DataType NVarCharMax { get; }

Property Value

Type: Microsoft.SqlServer.Management.Smo.DataType
A DataType object value that specifies a VarCharMax definition in the data type.

This data type allows storage of up to a maximum of 2GB of data. You can use the VarCharMax data type as a parameter in stored procedures and string functions. However, you cannot use this data type in the key column of an index.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.