表名:ZL_User_FriendApply












序号列名数据类型长度小数位标识主键外键允许空默认值说明
1IDint40   
2UserIDint40    好友申请人
3TUserIDint40    好友受邀人
4Remindnvarchar5000    备注
5ZStatusint40    申请状态
6CDatedatetime83    申请时间

简要说明:

用户好友申请表

GO
CREATE TABLE [dbo].[ZL_User_FriendApply](
[ID] [int] IDENTITY(1,1) NOT NULL,
[UserID] [int] NULL,
[TUserID] [int] NULL,
[Remind] [nvarchar](500) NULL,
[ZStatus] [int] NULL,
[CDate] [datetime] NULL,
CONSTRAINT [PK_ZL_User_FriendApply] 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]

--注意:将清空全表数据

detele from ZL_User_FriendApply

--注意:将删除整个表

drop table ZL_User_FriendApply

--注意:清空且复位表ID序列为初始值

TRUNCATE table ZL_User_FriendApply