What does the NOT NULL constraint enforce on a column?

SQL Fundamentals Medium

SQL Fundamentals — Medium

What does the NOT NULL constraint enforce on a column?

Key points

  • NOT NULL requires non-NULL values in the column
  • Prevents insertion of NULL values
  • Enhances data integrity
  • Ensures completeness of data

Ready to go further?

Related questions