IF NOT EXISTS (SELECT 1 FROM sys.objects WHERE object_id = OBJECT_ID('[dbo].[sys_sql_fun]') AND type = 'U')
CREATE TABLE [dbo].[sys_sql_fun]
(
    [funid] int NOT NULL IDENTITY(1, 1),
    [parseid] int NULL,
    [funvarname] varchar(50) COLLATE Chinese_PRC_CI_AS NOT NULL,
    [functionname] varchar(500) COLLATE Chinese_PRC_CI_AS NULL,
    [funtype] int NULL,
    [row] int NULL,
    [col] int NULL,
    CONSTRAINT [PK_SYS_SQL_FUN] PRIMARY KEY ([funid] ASC)
)