IF NOT EXISTS (SELECT 1 FROM sys.objects WHERE object_id = OBJECT_ID('[dbo].[mps_biztype_decision]') AND type = 'U')
CREATE TABLE [dbo].[mps_biztype_decision]
(
    [bd_id] int NOT NULL IDENTITY(1, 1),
    [bd_bizid] int NULL DEFAULT((0)),
    [bd_caption] nvarchar(100) COLLATE Chinese_PRC_CI_AS NULL DEFAULT(''),
    [bd_order] int NULL DEFAULT((999)),
    [bd_level] int NULL DEFAULT((0)),
    CONSTRAINT [PK_MPS_BIZTYPE_DECISION] PRIMARY KEY ([bd_id] ASC)
)

ALTER TABLE [dbo].[mps_biztype_decision] WITH CHECK ADD CONSTRAINT [FK_MPS_BIZT_REFERENCE_MPS_BIZT] FOREIGN KEY ([bd_bizid]) REFERENCES [dbo].[mps_biztype] ([biz_id]) ON DELETE CASCADEALTER TABLE [dbo].[mps_biztype_decision] CHECK CONSTRAINT [FK_MPS_BIZT_REFERENCE_MPS_BIZT]