Skip to content

Instantly share code, notes, and snippets.

View TotzkePaul's full-sized avatar
💭
🐱‍👓Tutoring

Paul Totzke TotzkePaul

💭
🐱‍👓Tutoring
View GitHub Profile
@abroadbent
abroadbent / Countries.SQL
Created August 14, 2013 17:39
SQL Server T-SQL For Countries Table
CREATE TABLE Countries (
Id int IDENTITY(1,1) NOT NULL,
Iso varchar(2) NOT NULL,
Name varchar(80) NOT NULL,
Iso3 varchar(3) NULL,
NumCode int NULL,
PhoneCode int NOT NULL,
CONSTRAINT [PK_Countries] PRIMARY KEY CLUSTERED ([Id] ASC),
CONSTRAINT [uc_Countries_Iso] UNIQUE NONCLUSTERED ([Iso] ASC)
)