CREATE TABLE [dbo].[nm_countries]
(
[nmctr_country_code] [dbo].[ais_code_short] NOT NULL,
[nmctr_l1] [nvarchar] (64) COLLATE French_CI_AS NOT NULL,
[nmctr_l2] [nvarchar] (64) COLLATE French_CI_AS NULL,
[nmctr_l3] [nvarchar] (64) COLLATE French_CI_AS NULL
) ON [PRIMARY]
ALTER TABLE [dbo].[nm_countries] ADD
CONSTRAINT [CK__nm_countries_nmctr_country_code__string_pk] CHECK ((len(ltrim(rtrim([nmctr_country_code])))>(0) AND charindex('*',[nmctr_country_code])=(0) AND charindex('%',[nmctr_country_code])=(0)))
GO
ALTER TABLE [dbo].[nm_countries] ADD CONSTRAINT [PK_nm_countries] PRIMARY KEY CLUSTERED  ([nmctr_country_code]) ON [PRIMARY]
GO
