Changing the Data Type Assigned to a Column

A column’s data type determines what kind of data can be stored in the column. A list of system-defined data types appears in the Data type property column in Column Properties view.

You can choose the appropriate data type for the information you want to store in the column. If user-defined data types exist for your database, they appear at the end of the Datatype list. The system-defined data type that corresponds to the user-defined data type appears in parentheses at the end of the user-defined data type name. For example: “id (varchar).”

Special Considerations for Assigning a User-defined Data Type to a Column

Note Changing the data type re-creates the table in the database when you save the table or diagram.



Caution If this column is related to columns in other tables, then the data type of the related columns must also be changed to preserve referential integrity. When you save the table or diagram, the Data type Change Required dialog box enables you to change the data type of the related columns automatically.


See Also

Creating User-Defined Data Types


(c) 1988-98 Microsoft Corporation. All Rights Reserved.