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.
Other Resources
Working with Keys (Visual Database Tools)
Working with Relationships (Visual Database Tools)
Help and Information
Getting SQL Server 2008 Assistance