IF NOT EXISTS (SELECT 1 FROM sys.objects WHERE object_id = OBJECT_ID('[dbo].[mps_auto_import]') AND type = 'U')
CREATE TABLE [dbo].[mps_auto_import]
(
    [auto_id] int NOT NULL IDENTITY(1, 1),
    [auto_cmpid] int NULL DEFAULT((0)),
    [auto_type] varchar(20) COLLATE Chinese_PRC_CI_AS NULL DEFAULT(''),
    [auto_interval] int NULL DEFAULT((0)),
    [auto_unit] varchar(10) COLLATE Chinese_PRC_CI_AS NULL DEFAULT(''),
    [auto_starttime] datetime NULL DEFAULT('1900-1-1'),
    [auto_webservice] varchar(50) COLLATE Chinese_PRC_CI_AS NULL DEFAULT(''),
    [auto_sql] nvarchar(max) COLLATE Chinese_PRC_CI_AS NULL DEFAULT(''),
    [auto_caption] nvarchar(100) COLLATE Chinese_PRC_CI_AS NULL DEFAULT(''),
    CONSTRAINT [PK_mps_auto_import] PRIMARY KEY ([auto_id] ASC)
)