You can define constraints syntactically in two ways: As part of the definition of an individual column or attribute. This is called inline specification. As part of the table definition. This is called out-of-line specification. Constraint clauses can appear in the following statements: CREATE TABLE (see CREATE TABLE) ALTER TABLE (see ALTER TABLE) CREATE VIEW (see CREATE VIEW) ALTER VIEW (see ALTER VIEW) SQL Constraints Constraint Type Description Primary Key Ensures

Constraints Read More »

Scroll to Top