CREATE TABLE [dbo].[nm_types_pol]
(
[nmtp_type_pol_code] [dbo].[ais_code_short] NOT NULL,
[nmtp_l1] [nvarchar] (64) COLLATE French_CI_AS NOT NULL,
[nmtp_l2] [nvarchar] (64) COLLATE French_CI_AS NULL,
[nmtp_l3] [nvarchar] (64) COLLATE French_CI_AS NULL,
[nmtp_sys] [bit] NOT NULL CONSTRAINT [DF__nm_types_pol__nmtp_sys] DEFAULT ((0))
) ON [PRIMARY]
ALTER TABLE [dbo].[nm_types_pol] ADD
CONSTRAINT [CK__nm_types_pol_nmtp_type_pol_code__string_pk] CHECK ((len(ltrim(rtrim([nmtp_type_pol_code])))>(0) AND charindex('*',[nmtp_type_pol_code])=(0) AND charindex('%',[nmtp_type_pol_code])=(0)))
GO
ALTER TABLE [dbo].[nm_types_pol] ADD CONSTRAINT [PK_nm_types_pol] PRIMARY KEY CLUSTERED  ([nmtp_type_pol_code]) ON [PRIMARY]
GO
