IF NOT EXISTS (SELECT 1 FROM sys.objects WHERE object_id = OBJECT_ID('[dbo].[pub_pageregister]') AND type = 'U')
CREATE TABLE [dbo].[pub_pageregister]
(
    [pr_id] int NOT NULL IDENTITY(1, 1),
    [pr_type] nvarchar(100) COLLATE Chinese_PRC_CI_AS NULL DEFAULT(''),
    [pr_name] varchar(100) COLLATE Chinese_PRC_CI_AS NULL DEFAULT(''),
    [pr_caption] nvarchar(100) COLLATE Chinese_PRC_CI_AS NULL DEFAULT(''),
    [pr_note] nvarchar(500) COLLATE Chinese_PRC_CI_AS NULL DEFAULT(''),
    [pr_system] int NULL DEFAULT((1)),
    CONSTRAINT [PK_PUB_PAGEREGISTER] PRIMARY KEY ([pr_id] ASC)
)