What does the NOT NULL constraint ensure?

SQL Fundamentals Easy

SQL Fundamentals — Easy

What does the NOT NULL constraint ensure?

Key points

  • NOT NULL constraint prevents NULL values in a column
  • Ensures data integrity by mandating non-null values
  • Helps in maintaining consistency in the database

Ready to go further?

Related questions