Description
CHECK is a constraint that is placed on one or more columns. It specifies that the values must satisfy certain conditions. This ensures that invalid data does not enter the column. Adding an invalid value to a CHECK column will cause an error.
In this lab, you will learn how to add a Check Constraint to a table in SQL Server.
Based on this Customer and Supplier Schema, generate the solutions to the respective queries listed below:
Lab Objective
Upon completion of this lab, you will be able to:
Prerequisites