IF NOT EXISTS (SELECT 1 FROM sys.objects WHERE object_id = OBJECT_ID('[dbo].[mps_privategroup]') AND type = 'U')
CREATE TABLE [dbo].[mps_privategroup]
(
    [pg_id] int NOT NULL IDENTITY(1, 1),
    [pg_cmpid] int NULL DEFAULT((0)),
    [pg_bcid] int NULL DEFAULT((0)),
    [pg_name] nvarchar(200) COLLATE Chinese_PRC_CI_AS NULL DEFAULT(''),
    [pg_note] nvarchar(2000) COLLATE Chinese_PRC_CI_AS NULL DEFAULT(''),
    CONSTRAINT [PK_MPS_PRIVATEGROUP] PRIMARY KEY ([pg_id] ASC)
)