日期:2014-05-17 浏览次数:20704 次
USE [TEh]
GO
/****** 对象: Table [dbo].[Message] 脚本日期: 10/23/2012 14:07:48 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[Message](
[NO] [nvarchar](16) NOT NULL,
[ANO] [int] NOT NULL,
[BNO] [int] NULL,
[iType] [int] NULL,
[sDeptName] [nvarchar](20) NULL,
[sUserName] [nvarchar](10) NULL,
[sDateTime] [smalldatetime] NULL,
[Title] [nvarchar](64) NULL,
[iText] [ntext] NULL,
[rDeptName] [nvarchar](20) NULL,
[rUserName] [nvarchar](10) NULL,
[Sented] [bit] NULL CONSTRAINT [DF_Message_Sented] DEFAULT ((0)),
[sDel] [bit] NULL CONSTRAINT [DF_Message_sDel] DEFAULT ((0)),
[iRead] [bit] NULL CONSTRAINT [DF_Message_iRead] DEFAULT ((0)),
[rDel] [bit] NULL CONSTRAINT [DF_Message_rDel] DEFAULT ((0)),
[iReadDateTime] [smalldatetime] NULL,
CONSTRAINT [PK_Message] PRIMARY KEY CLUSTERED
(
[NO] ASC,
[ANO] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]