IF NOT EXISTS (SELECT 1 FROM sys.objects WHERE object_id = OBJECT_ID('[dbo].[sys_sql_inf]') AND type = 'U')
CREATE TABLE [dbo].[sys_sql_inf]
(
    [parseid] int NOT NULL IDENTITY(1, 1),
    [cmpid] int NULL,
    [opType] varchar(10) COLLATE Chinese_PRC_CI_AS NULL,
    [tTable] varchar(40) COLLATE Chinese_PRC_CI_AS NULL,
    [targDS] varchar(20) COLLATE Chinese_PRC_CI_AS NULL,
    [whrCond] varchar(50) COLLATE Chinese_PRC_CI_AS NULL,
    [glparseid] int NULL,
    [parsedscript] varchar(max) COLLATE Chinese_PRC_CI_AS NULL,
    [thisbiztype] varchar(20) COLLATE Chinese_PRC_CI_AS NULL,
    [thisbizid] int NULL,
    [procname] varchar(100) COLLATE Chinese_PRC_CI_AS NULL,
    [commonpart] varchar(max) COLLATE Chinese_PRC_CI_AS NULL,
    [proctype] varchar(20) COLLATE Chinese_PRC_CI_AS NULL,
    [tmpid] int NULL,
    CONSTRAINT [PK_SYS_SQL_INF] PRIMARY KEY ([parseid] ASC)
)