CREATE TABLE [dbo].[nm_masterbroker_comm_types]
(
[mbct_type_code] [dbo].[ais_code_short] NOT NULL,
[mbct_l1] [nvarchar] (64) COLLATE French_CI_AS NOT NULL,
[mbct_l2] [nvarchar] (64) COLLATE French_CI_AS NULL,
[mbct_l3] [nvarchar] (64) COLLATE French_CI_AS NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[nm_masterbroker_comm_types] ADD CONSTRAINT [CK__nm_masterbroker_comm_types_mbct_type_code__string_pk] CHECK ((len(ltrim(rtrim([mbct_type_code])))>(0) AND charindex('*',[mbct_type_code])=(0) AND charindex('%',[mbct_type_code])=(0)))
GO
ALTER TABLE [dbo].[nm_masterbroker_comm_types] ADD CONSTRAINT [PK_nm_masterbroker_comm_types] PRIMARY KEY CLUSTERED  ([mbct_type_code]) ON [PRIMARY]
GO
