Table-Valued Object (Column) Properties (Visual Database Tools)
These properties appear when you select a column in a table-valued object in the Diagram pane of Query and View Designer.
The properties in this topic are ordered by category rather than alphabet.
The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. To change your settings, choose Import and Export Settings on the Tools menu.
- Identity Category
Expands to show the Name property.
Shows the name of the selected column.
- Query DesignerCategory
Expands to show properties for Allow Nulls, Collation, Datatype, Length, Precision, Scale, and Size.
- Allow Nulls
Shows whether or not the column's data type allows null values.
Shows the collation setting for the selected column. The collation can be set in the Column Properties tab of Table Designer.
- Data Type
Shows the data type of the selected column.
Shows the number of characters or digits allowed by the selected column's data type. This property is only available for character-based data types.
For the size in bytes, see the Size property below.
Shows the maximum number of digits allowed for numeric data types. This property shows 0 for nonnumeric data types.
Shows the maximum number of digits that can appear to the right of the decimal point for numeric data types. This value must be less than or equal to the precision. This property shows 0 for nonnumeric data types.
Shows the size in bytes allowed by the column's data type. For example, a nchar data type may have a length of 10 (the number of characters) but it would have a size of 20 to account for Unicode character sets.