CREATE TABLE [dbo].[nm_types_mvts_clm]
(
[nmtmclm_type_code] [dbo].[ais_code_short] NOT NULL,
[nmtmclm_l1] [nvarchar] (64) COLLATE French_CI_AS NOT NULL,
[nmtmclm_l2] [nvarchar] (64) COLLATE French_CI_AS NULL,
[nmtmclm_l3] [nvarchar] (64) COLLATE French_CI_AS NULL,
[nmtmclm_sys] [bit] NOT NULL CONSTRAINT [DF__nm_types_mvts_clm__nmtmclm_sys] DEFAULT ((0))
) ON [PRIMARY]
ALTER TABLE [dbo].[nm_types_mvts_clm] ADD
CONSTRAINT [CK__nm_types_mvts_clm_nmtmclm_type_code__string_pk] CHECK ((len(ltrim(rtrim([nmtmclm_type_code])))>(0) AND charindex('*',[nmtmclm_type_code])=(0) AND charindex('%',[nmtmclm_type_code])=(0)))
GO
ALTER TABLE [dbo].[nm_types_mvts_clm] ADD CONSTRAINT [PK_nm_types_mvts_claim] PRIMARY KEY CLUSTERED  ([nmtmclm_type_code]) ON [PRIMARY]
GO
