CREATE TABLE [dbo].[nm_repartitions_types]
(
[nmrt_reptype_code] [dbo].[ais_code_short] NOT NULL,
[nmrt_rowver] [timestamp] NOT NULL,
[nmrt_l1] [nvarchar] (256) COLLATE French_CI_AS NOT NULL,
[nmrt_l2] [nvarchar] (256) COLLATE French_CI_AS NULL,
[nmrt_l3] [nvarchar] (256) COLLATE French_CI_AS NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[nm_repartitions_types] ADD CONSTRAINT [CK__nm_repartitions_types_nmrt_reptype_code__string_pk] CHECK ((len(ltrim(rtrim([nmrt_reptype_code])))>(0) AND charindex('*',[nmrt_reptype_code])=(0) AND charindex('%',[nmrt_reptype_code])=(0)))
GO
ALTER TABLE [dbo].[nm_repartitions_types] ADD CONSTRAINT [PK_nm_repartitions_types] PRIMARY KEY CLUSTERED  ([nmrt_reptype_code]) ON [PRIMARY]
GO
