CREATE TABLE [dbo].[pol_classes]
(
[cls_class_code] [dbo].[ais_code_short] NOT NULL,
[cls_l1] [nvarchar] (64) COLLATE French_CI_AS NOT NULL,
[cls_l2] [nvarchar] (64) COLLATE French_CI_AS NULL,
[cls_l3] [nvarchar] (64) COLLATE French_CI_AS NULL
) ON [PRIMARY]
ALTER TABLE [dbo].[pol_classes] ADD
CONSTRAINT [CK__pol_classes_cls_class_code__string_pk] CHECK ((len(ltrim(rtrim([cls_class_code])))>(0) AND charindex('*',[cls_class_code])=(0) AND charindex('%',[cls_class_code])=(0)))
GO
ALTER TABLE [dbo].[pol_classes] ADD CONSTRAINT [PK_pol_classes] PRIMARY KEY CLUSTERED  ([cls_class_code]) ON [PRIMARY]
GO
