IF NOT EXISTS (SELECT 1 FROM sys.objects WHERE object_id = OBJECT_ID('[dbo].[order_220_0]') AND type = 'U')
CREATE TABLE [dbo].[order_220_0]
(
    [ord3_id] bigint NOT NULL IDENTITY(1, 1),
    [ord3_idname] varchar(50) COLLATE Chinese_PRC_CI_AS NOT NULL DEFAULT(''),
    [ord3_ordid] bigint NOT NULL DEFAULT((0)),
    [ord3_text] text(16) COLLATE Chinese_PRC_CI_AS NOT NULL DEFAULT(''),
    CONSTRAINT [order_220_0_pk] PRIMARY KEY ([ord3_id] ASC)
)


IF NOT EXISTS (SELECT 1 FROM sys.indexes WHERE object_id = OBJECT_ID('[dbo].[order_220_0]') AND name = 'order_220_0_index_1')
CREATE NONCLUSTERED INDEX [order_220_0_index_1] ON [dbo].[order_220_0]([ord3_ordid] ASC,[ord3_idname] ASC)