IF NOT EXISTS (SELECT 1 FROM sys.objects WHERE object_id = OBJECT_ID('[dbo].[mps_biztype_source]') AND type = 'U')
CREATE TABLE [dbo].[mps_biztype_source]
(
    [bizs_id] int NOT NULL IDENTITY(1, 1),
    [bizs_type] varchar(20) COLLATE Chinese_PRC_CI_AS NULL DEFAULT(''),
    [bizs_bizid] int NULL DEFAULT((0)),
    [bizs_ord2tag] int NULL DEFAULT((0)),
    [bizs_source] nvarchar(200) COLLATE Chinese_PRC_CI_AS NULL DEFAULT(''),
    [bizs_sourcecaption] nvarchar(200) COLLATE Chinese_PRC_CI_AS NULL DEFAULT(''),
    [bizs_sourcefield] varchar(50) COLLATE Chinese_PRC_CI_AS NULL DEFAULT(''),
    [bizs_sourcetype] varchar(20) COLLATE Chinese_PRC_CI_AS NULL DEFAULT(''),
    [bizs_ctgid] int NULL DEFAULT((0)),
    [bizs_ctg2id] int NULL DEFAULT((0)),
    [bizs_resultfields] varchar(1000) COLLATE Chinese_PRC_CI_AS NULL DEFAULT(''),
    [bizs_displayfield] nvarchar(4000) COLLATE Chinese_PRC_CI_AS NULL DEFAULT(''),
    [bizs_orderfields] varchar(200) COLLATE Chinese_PRC_CI_AS NULL DEFAULT(''),
    [bizs_wintitle] nvarchar(100) COLLATE Chinese_PRC_CI_AS NULL DEFAULT(''),
    [bizs_condition] nvarchar(4000) COLLATE Chinese_PRC_CI_AS NULL DEFAULT(''),
    [bizs_multi] int NULL DEFAULT((1)),
    [bizs_insertsql] nvarchar(4000) COLLATE Chinese_PRC_CI_AS NULL DEFAULT(''),
    [bizs_width] varchar(20) COLLATE Chinese_PRC_CI_AS NULL DEFAULT(''),
    [bizs_js] nvarchar(4000) COLLATE Chinese_PRC_CI_AS NULL DEFAULT(''),
    [bizs_function] varchar(100) COLLATE Chinese_PRC_CI_AS NULL DEFAULT(''),
    CONSTRAINT [PK_MPS_BIZTYPE_SOURCE] PRIMARY KEY ([bizs_id] ASC)
)