Skip to content

Instantly share code, notes, and snippets.

View R3muSGFX's full-sized avatar

Moisi Remus - Daniel R3muSGFX

  • Bucharest
View GitHub Profile
@R3muSGFX
R3muSGFX / table_countries_t.sql
Last active July 6, 2017 14:25
Countries table with Names, country codes, phone codes, written in T-SQL
CREATE TABLE [dbo].[Countries](
[CountryID] [tinyint] IDENTITY(1,1) NOT NULL,
[ISO] [char](2) NOT NULL,
[CountryName] [varchar](80) NOT NULL,
[NiceName] [varchar](80) NOT NULL,
[ISO3] [char](3) NULL,
[NumCode] [smallint] NULL,
[PhoneCode] [smallint] NOT NULL,
CONSTRAINT [PK_Countries] PRIMARY KEY CLUSTERED
(