IF NOT EXISTS (SELECT 1 FROM sys.objects WHERE object_id = OBJECT_ID('[dbo].[sys_sql_revtables]') AND type = 'U')
CREATE TABLE [dbo].[sys_sql_revtables]
(
    [logrecid] int NOT NULL IDENTITY(1, 1),
    [jobid] int NULL,
    [tbname] varchar(4000) COLLATE Chinese_PRC_CI_AS NULL,
    CONSTRAINT [PK_SYS_SQL_REVTABLES] PRIMARY KEY ([logrecid] ASC)
)