USE [ServerJianKong]
GO
/****** Object: Table [dbo].[User_TB] Script Date: 04/25/2011 22:38:44 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[User_TB](
[ID] [int] IDENTITY(1,1) NOT NULL,
[UserName] [varchar](50) NOT NULL,
[PassWord] [varchar](50) NOT NULL,
[AddTime] [date] NOT NULL,
[ReMark] [varchar](50) NULL,
[MarkType] [int] NOT NULL,
CONSTRAINT [PK_User_TB] PRIMARY KEY CLUSTERED
(
[ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
SET ANSI_PADDING OFF
GO
/****** Object: Table [dbo].[Url_TB] Script Date: 04/25/2011 22:38:44 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[Url_TB](
[ID] [int] IDENTITY(1,1) NOT NULL,
[Url] [varchar](100) NOT NULL,
[AddTime] [date] NOT NULL,
[ReMark] [varchar](500) NOT NULL,
[Status] [int] NOT NULL,
CONSTRAINT [PK_Url_TB] PRIMARY KEY CLUSTERED
(
[ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
SET ANSI_PADDING OFF
GO
/****** Object: Table [dbo].[IP_TB] Script Date: 04/25/2011 22:38:44 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[IP_TB](
[ID] [int] IDENTITY(1,1) NOT NULL,
[IP] [varchar](50) NOT NULL,
[AddTime] [date] NULL,
[Remark] [varchar](50) NOT NULL,
[Status] [int] NULL,
CONSTRAINT [PK_IP_TB] PRIMARY KEY CLUSTERED
(
[ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
SET ANSI_PADDING OFF
GO
/****** Object: Table [dbo].[Email_TB] Script Date: 04/25/2011 22:38:44 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[Email_TB](
[ID] [int] IDENTITY(1,1) NOT NULL,
[Technicist] [varchar](50) NOT NULL,
[Email] [varchar](50) NOT NULL,
[AddTime] [date] NOT NULL,
[ReMark] [varchar](500) NULL,
[Status] [int] NOT NULL,
CONSTRAINT [PK_Email_TB] PRIMARY KEY CLUSTERED
(
[ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
SET ANSI_PADDING OFF
GO
/****** Object: Default [DF_Email_TB_AddTime] Script Date: 04/25/2011 22:38:44 ******/
ALTER TABLE [dbo].[Email_TB] ADD CONSTRAINT [DF_Email_TB_AddTime] DEFAULT (getdate()) FOR [AddTime]
GO
/****** Object: Default [DF_Email_TB_Status] Script Date: 04/25/2011 22:38:44 ******/
ALTER TABLE [dbo].[Email_TB] ADD CONSTRAINT [DF_Email_TB_Status] DEFAULT ((0)) FOR [Status]
GO
/****** Object: Default [DF_IP_TB_IP] Script Date: 04/25/2011 22:38:44 ******/
ALTER TABLE [dbo].[IP_TB] ADD CONSTRAINT [DF_IP_TB_IP] DEFAULT (getdate()) FOR [IP]
GO
/****** Object: Default [DF_IP_TB_AddTime] Script Date: 04/25/2011 22:38:44 ******/
ALTER TABLE [dbo].[IP_TB] ADD CONSTRAINT [DF_IP_TB_AddTime] DEFAULT (getdate()) FOR [AddTime]
GO
/****** Object: Default [DF_IP_TB_Status] Script Date: 04/25/2011 22:38:44 ******/
ALTER TABLE [dbo].[IP_TB] ADD CONSTRAINT [DF_IP_TB_Status] DEFAULT ((0)) FOR [Status]
GO
/****** Object: Default [DF_Url_TB_AddTime] Script Date: 04/25/2011 22:38:44 ******/
ALTER TABLE [dbo].[Url_TB] ADD CONSTRAINT [DF_Url_TB_AddTime] DEFAULT (getdate()) FOR [AddTime]
GO
/****** Object: Default [DF_Url_TB_Status] Script Date: 04/25/2011 22:38:44 ******/
ALTER TABLE [dbo].[Url_TB] ADD CONSTRAINT [DF_Url_TB_Status] DEFAULT ((0)) FOR [Status]
GO
/****** Object: Default [DF_User_TB_AddTime] Script Date: 04/25/2011 22:38:44 ******/
ALTER TABLE [dbo].[User_TB] ADD CONSTRAINT [DF_User_TB_AddTime] DEFAULT (getdate()) FOR [AddTime]
�