CREATE TABLE [dbo].[nm_types_mvts_pol]
(
[nmtmpol_type_code] [dbo].[ais_code_short] NOT NULL,
[nmtmpol_l1] [nvarchar] (64) COLLATE French_CI_AS NOT NULL,
[nmtmpol_l2] [nvarchar] (64) COLLATE French_CI_AS NULL,
[nmtmpol_l3] [nvarchar] (64) COLLATE French_CI_AS NULL,
[nmtmpol_sys] [bit] NOT NULL CONSTRAINT [DF__nm_types_mvts_pol__nmtmpol_sys] DEFAULT ((0))
) ON [PRIMARY]
ALTER TABLE [dbo].[nm_types_mvts_pol] ADD
CONSTRAINT [CK__nm_types_mvts_pol_nmtmpol_type_code__string_pk] CHECK ((len(ltrim(rtrim([nmtmpol_type_code])))>(0) AND charindex('*',[nmtmpol_type_code])=(0) AND charindex('%',[nmtmpol_type_code])=(0)))
GO
ALTER TABLE [dbo].[nm_types_mvts_pol] ADD CONSTRAINT [PK_nm_types_mvts_pol] PRIMARY KEY CLUSTERED  ([nmtmpol_type_code]) ON [PRIMARY]
GO
