How to create a CHECK constraint on an existing table (Enterprise Manager)

To create a CHECK constraint on an existing table

  1. Expand a server group; then expand a server.
  2. Expand Databases, expand the database in which the table belongs, and then click Tables.
  3. In the details pane, right-click the table, and then click Design Table.
  4. Right-click the column name on which to create the CHECK constraint; then click Properties.
  5. On the Tables tab, click New.
  6. In Constraint expression, enter the text of the constraint.
  7. Optionally:
See Also

Creating and Modifying CHECK Constraints

  


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