CREATE TABLE [dbo].[md_languages]
(
[lng_language_code] [dbo].[ais_code_short] NOT NULL,
[lng_l1] [nvarchar] (64) COLLATE French_CI_AS NOT NULL,
[lng_l2] [nvarchar] (64) COLLATE French_CI_AS NULL,
[lng_l3] [nvarchar] (64) COLLATE French_CI_AS NULL,
[lng_const] [varchar] (2) COLLATE French_CI_AS NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[md_languages] ADD CONSTRAINT [CK__md_languages_lng_language_code__string_pk] CHECK ((len(ltrim(rtrim([lng_language_code])))>(0) AND charindex('*',[lng_language_code])=(0) AND charindex('%',[lng_language_code])=(0)))
GO
ALTER TABLE [dbo].[md_languages] ADD CONSTRAINT [PK_md_languages] PRIMARY KEY CLUSTERED  ([lng_language_code]) ON [PRIMARY]
GO
