IF NOT EXISTS (SELECT 1 FROM sys.objects WHERE object_id = OBJECT_ID('[dbo].[pub_power_define]') AND type = 'U')
CREATE TABLE [dbo].[pub_power_define]
(
    [pd_id] int NOT NULL DEFAULT((0)),
    [pd_dbserver] varchar(10) COLLATE Chinese_PRC_CI_AS NOT NULL DEFAULT('MSSQL'),
    [pd_type] varchar(30) COLLATE Chinese_PRC_CI_AS NULL DEFAULT(''),
    [pd_title] nvarchar(50) COLLATE Chinese_PRC_CI_AS NULL DEFAULT(''),
    [pd_sql] nvarchar(4000) COLLATE Chinese_PRC_CI_AS NULL DEFAULT(''),
    [pd_param1] varchar(10) COLLATE Chinese_PRC_CI_AS NULL DEFAULT(''),
    [pd_param2] varchar(10) COLLATE Chinese_PRC_CI_AS NULL DEFAULT(''),
    CONSTRAINT [PK_PUB_POWER_DEFINE] PRIMARY KEY ([pd_id] ASC)
    CONSTRAINT [PK_PUB_POWER_DEFINE] PRIMARY KEY ([pd_dbserver] ASC)
)