Organise ddl statements into separate files per create table (#251)

This commit is contained in:
2026-08-26 22:16:56 -04:00
committed by GitHub
parent 4ca35de7ef
commit fcee0f9213
18 changed files with 774 additions and 617 deletions

View File

@@ -0,0 +1,17 @@
CREATE TABLE Country
(
CountryID UNIQUEIDENTIFIER
CONSTRAINT DF_CountryID DEFAULT NEWID(),
CountryName NVARCHAR(100) NOT NULL,
ISO3166_1 CHAR(2) NOT NULL,
RowVersion ROWVERSION,
CONSTRAINT PK_Country
PRIMARY KEY (CountryID),
CONSTRAINT AK_Country_ISO3166_1
UNIQUE (ISO3166_1)
);