IF NOT EXISTS (SELECT 1 FROM sys.objects WHERE object_id = OBJECT_ID('[dbo].[mps_job_available]') AND type = 'U')
CREATE TABLE [dbo].[mps_job_available]
(
    [jbn_id] bigint NOT NULL IDENTITY(1, 1),
    [jbn_cmpid] int NULL DEFAULT((0)),
    [jbn_crmid] int NULL DEFAULT((0)),
    [jbn_ordid] bigint NULL DEFAULT((0)),
    [jbn_wrkid] int NULL DEFAULT((0)),
    [jbn_ident] varchar(50) COLLATE Chinese_PRC_CI_AS NULL DEFAULT(''),
    [jbn_created] int NULL DEFAULT((1)),
    [jbn_level] int NULL DEFAULT((0)),
    [jbn_jbid] bigint NULL DEFAULT((0)),
    [jbn_newjbid] bigint NULL DEFAULT((0)),
    CONSTRAINT [PK_mps_job_available] PRIMARY KEY ([jbn_id] ASC)
)