IF NOT EXISTS (SELECT 1 FROM sys.objects WHERE object_id = OBJECT_ID('[dbo].[mps_role]') AND type = 'U')
CREATE TABLE [dbo].[mps_role]
(
    [rl_cmpid] int NOT NULL DEFAULT((0)),
    [rl_value] int NOT NULL DEFAULT((0)),
    [rl_title] nvarchar(100) COLLATE Chinese_PRC_CI_AS NULL DEFAULT(''),
    [rl_note] nvarchar(500) COLLATE Chinese_PRC_CI_AS NULL DEFAULT(''),
    [rl_system] int NULL DEFAULT((1)),
    CONSTRAINT [PK_MPS_ROLE] PRIMARY KEY ([rl_cmpid] ASC,[rl_value] ASC)
)