About 18,000 results
Open links in new tab
  1. SQL Constraints - W3Schools

    SQL Create Constraints. Constraints can be specified when the table is created with the CREATE TABLE statement, or after the table is created with the ALTER TABLE statement. Syntax

  2. SQL | Constraints - GeeksforGeeks

    Jan 30, 2025 · Constraints can be specified during the table creation process using the CREATE TABLE statement. Additionally, constraints can be modified or added to existing tables using …

  3. CREATE TABLE (Transact-SQL) - SQL Server | Microsoft Learn

    Simple CREATE TABLE syntax (common if not using options): { database_name.schema_name.table_name | schema_name.table_name | table_name } ( { …

  4. SQL Constraints - w3resource

    Apr 20, 2024 · Constraints can be specified when the table created first with CREATE TABLE statement or at the time of modification of the structure of an existing table with ALTER TABLE …

  5. CREATE TABLE statement in SQL [examples and CONSTRAINTS]

    CREATE TABLE tableName (fieldName data type and properties) CONSTRAINT (constraints). To have a better understanding on how the CREATE TABLE statement works, we are going to …

  6. SQL Constraints (With Examples) - Programiz

    In a database table, we can add rules to a column known as constraints. These rules control the data that can be stored in a column. For example, if a column has NOT NULL constraint, it …

  7. Create a Table in SQL with Constraints and Data Integrity

    Feb 8, 2025 · Learn how to create an SQL table with columns, primary keys, and constraints to ensure data integrity. Step-by-step explanation and real-world use cases.

  8. Learn SQL - SQL Lesson 16: Creating tables - SQLBolt

    When you have new entities and relationships to store in your database, you can create a new database table using the CREATE TABLE statement. column DataType TableConstraint …

  9. SQL CREATE TABLE Tutorial: Design Better Database Tables

    Learn how to create well-structured database tables that maintain data integrity. This guide covers everything from basic table creation to advanced constraints and relationships. What is …

  10. SQL Constraints: The Complete Guide - Database Star

    Oct 11, 2022 · Constraints in SQL are helpful to ensure your data remains high quality. There are five different types of constraints you can use, which come in handy in different situations. …

Refresh