CREATE TABLE [dbo].[nm_yesno_values]
(
[nmvyn_yesno_code] [varchar] (1) COLLATE French_CI_AS NOT NULL,
[nmvyn_l1] [nvarchar] (64) COLLATE French_CI_AS NOT NULL,
[nmvyn_l2] [nvarchar] (64) COLLATE French_CI_AS NULL,
[nmvyn_l3] [nvarchar] (64) COLLATE French_CI_AS NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[nm_yesno_values] ADD CONSTRAINT [CK__nm_yesno_values_nmvyn_yesno_code__string_pk] CHECK ((len(ltrim(rtrim([nmvyn_yesno_code])))>(0) AND charindex('*',[nmvyn_yesno_code])=(0) AND charindex('%',[nmvyn_yesno_code])=(0)))
GO
ALTER TABLE [dbo].[nm_yesno_values] ADD CONSTRAINT [PK_nm_yesno_values] PRIMARY KEY CLUSTERED  ([nmvyn_yesno_code]) ON [PRIMARY]
GO
