IF NOT EXISTS (SELECT 1 FROM sys.objects WHERE object_id = OBJECT_ID('[dbo].[mps_manage_grade]') AND type = 'U')
CREATE TABLE [dbo].[mps_manage_grade]
(
    [mg_id] int NOT NULL IDENTITY(1, 1),
    [mg_cmpid] int NULL DEFAULT((0)),
    [mg_grade] int NULL DEFAULT((0)),
    [mg_caption] nvarchar(50) COLLATE Chinese_PRC_CI_AS NULL DEFAULT(''),
    CONSTRAINT [PK_mps_manage_grade] PRIMARY KEY ([mg_id] ASC)
)