SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[Online_Tools](
	[id] [int] IDENTITY(1,1) NOT NULL,
	[typeid] [int] NOT NULL CONSTRAINT [DF_Online_Tools_online_type]  DEFAULT ((0)),
	[account] [nvarchar](30) COLLATE Chinese_PRC_CI_AS NOT NULL CONSTRAINT [DF_Online_Tools_online_account]  DEFAULT (''),
	[orderid] [int] NOT NULL CONSTRAINT [DF_Online_Tools_online_order]  DEFAULT ((0)),
 CONSTRAINT [PK_Contact_Online] PRIMARY KEY CLUSTERED 
(
	[id] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'在线通讯工具表-记录表(主键)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Online_Tools', @level2type=N'COLUMN', @level2name=N'id'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'在线通讯工具表-记录表(通讯工具类型)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Online_Tools', @level2type=N'COLUMN', @level2name=N'typeid'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'在线通讯工具表-记录表(帐户)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Online_Tools', @level2type=N'COLUMN', @level2name=N'account'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'在线通讯工具表-记录表(排序ID)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Online_Tools', @level2type=N'COLUMN', @level2name=N'orderid'
