Create Database Scripts in T-SQL

Turn a design into a script that builds it - CREATE DATABASE, CREATE TABLE with types, NOT NULL, IDENTITY and DEFAULT, and constraints for primary keys, foreign keys, UNIQUE and CHECK.

Updated

Cheat sheet: Create Database Scripts in T-SQL
Category
SQL
Level
Journeyman
Tags
CHECK Constraint, Constraint, CREATE TABLE, Data Definition Language (DDL), IDENTITY (t-sql), sql, t-sql, UNIQUE Constraint