IF NOT EXISTS (SELECT 1 FROM sys.objects WHERE object_id = OBJECT_ID('[dbo].[flatRepl]') AND type = 'U')
CREATE TABLE [dbo].[flatRepl]
(
    [repid] int NOT NULL IDENTITY(1, 1),
    [parseid] int NULL,
    [repname] varchar(50) COLLATE Chinese_PRC_CI_AS NULL,
    [repExp] varchar(500) COLLATE Chinese_PRC_CI_AS NULL,
    [dsname] varchar(20) COLLATE Chinese_PRC_CI_AS NULL,
    [fldname] varchar(20) COLLATE Chinese_PRC_CI_AS NULL,
    [row] int NULL,
    [col] int NULL,
)