IF NOT EXISTS (SELECT 1 FROM sys.objects WHERE object_id = OBJECT_ID('[dbo].[mps_customer1_0]') AND type = 'U')
CREATE TABLE [dbo].[mps_customer1_0]
(
    [cc3_ccid] bigint NOT NULL DEFAULT((0)),
    [cc3_id] bigint NOT NULL IDENTITY(1, 1),
    [cc3_idname] varchar(50) COLLATE Chinese_PRC_CI_AS NOT NULL DEFAULT(''),
    [cc3_text] text(16) COLLATE Chinese_PRC_CI_AS NOT NULL DEFAULT(''),
    CONSTRAINT [mps_customer1_0_pk] PRIMARY KEY ([cc3_id] ASC)
)


IF NOT EXISTS (SELECT 1 FROM sys.indexes WHERE object_id = OBJECT_ID('[dbo].[mps_customer1_0]') AND name = 'mps_customer1_0_index_1')
CREATE NONCLUSTERED INDEX [mps_customer1_0_index_1] ON [dbo].[mps_customer1_0]([cc3_ccid] ASC,[cc3_idname] ASC)