Constraints are rules that the database server enforces for you.
Note: |
|---|
|
If the table is published for replication, you must make schema changes using the Transact-SQL statement ALTER TABLE or SQL Server Management Objects (SMO). When schema changes are made using the Table Designer or the Database Diagram Designer, it attempts to drop and recreate the table. You cannot drop published objects, therefore the schema change will fail.
|
For details about working with constraints, see the following topics.

See Also