IF NOT EXISTS (SELECT 1 FROM sys.objects WHERE object_id = OBJECT_ID('[dbo].[mps_warehouse_users]') AND type = 'U')
CREATE TABLE [dbo].[mps_warehouse_users]
(
    [whp_cuid] int NOT NULL DEFAULT((0)),
    [whp_whid] bigint NOT NULL DEFAULT((0)),
    [whp_type] varchar(10) COLLATE Chinese_PRC_CI_AS NOT NULL DEFAULT(''),
    [whp_otid] int NULL DEFAULT((0)),
    CONSTRAINT [PK_mps_warehouse_users] PRIMARY KEY ([whp_cuid] ASC,[whp_whid] ASC,[whp_type] ASC)
)