CREATE TABLE [dbo].[nm_transactions_types]
(
[trnt_type_code] [dbo].[ais_code_short] NOT NULL,
[trnt_l1] [nvarchar] (64) COLLATE French_CI_AS NOT NULL,
[trnt_l2] [nvarchar] (64) COLLATE French_CI_AS NULL,
[trnt_l3] [nvarchar] (64) COLLATE French_CI_AS NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[nm_transactions_types] ADD CONSTRAINT [CK__nm_transactions_types_trnt_type_code__string_pk] CHECK ((len(ltrim(rtrim([trnt_type_code])))>(0) AND charindex('*',[trnt_type_code])=(0) AND charindex('%',[trnt_type_code])=(0)))
GO
ALTER TABLE [dbo].[nm_transactions_types] ADD CONSTRAINT [PK_nm_transactions_types] PRIMARY KEY CLUSTERED  ([trnt_type_code]) ON [PRIMARY]
GO
