CREATE TABLE [dbo].[nm_pol_renew_types]
(
[nmprt_renew_type_code] [dbo].[ais_code_short] NOT NULL,
[nmprt_l1] [nvarchar] (64) COLLATE French_CI_AS NOT NULL,
[nmprt_l2] [nvarchar] (64) COLLATE French_CI_AS NULL,
[nmprt_l3] [nvarchar] (64) COLLATE French_CI_AS NULL,
[nmprt_order] [int] NOT NULL,
[nmprt_sys] [bit] NOT NULL CONSTRAINT [DF__nm_pol_renew_types__nmprt_sys] DEFAULT ((0))
) ON [PRIMARY]
ALTER TABLE [dbo].[nm_pol_renew_types] ADD
CONSTRAINT [CK__nm_pol_renew_types_nmprt_renew_type_code__string_pk] CHECK ((len(ltrim(rtrim([nmprt_renew_type_code])))>(0) AND charindex('*',[nmprt_renew_type_code])=(0) AND charindex('%',[nmprt_renew_type_code])=(0)))
GO
ALTER TABLE [dbo].[nm_pol_renew_types] ADD CONSTRAINT [PK_nm_pol_renew_types] PRIMARY KEY CLUSTERED  ([nmprt_renew_type_code]) ON [PRIMARY]
GO
