表名:ZL_User_UserPoint












序号列名数据类型长度小数位标识主键外键允许空默认值说明
1ExpHisIDint40  主键ID
2UserIDint40     
3Scoremoney84    出入金额
4HisTimedatetime83    出入时间
5Operatorint40    操作人
6Detailnvarchar10000    详情
7OperatorIPnvarchar2000    用户IP
8ScoreTypeint40    虚拟币类型
9Remarknvarchar2000    备注

简要说明:

用户点卷出入记录

GO
CREATE TABLE [dbo].[ZL_User_UserPoint](
[ExpHisID] [int] IDENTITY(1,1) NOT NULL,
[UserID] [int] NULL,
[Score] [money] NULL,
[HisTime] [datetime] NULL,
[Operator] [int] NULL,
[Detail] [nvarchar](1000) NULL,
[OperatorIP] [nvarchar](200) NULL,
[ScoreType] [int] NULL,
[Remark] [nvarchar](200) NULL,
CONSTRAINT [PK_ZL_User_UserPoint] PRIMARY KEY CLUSTERED
([ExpHisID] 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_UserPoint

--注意:将删除整个表

drop table ZL_User_UserPoint

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

TRUNCATE table ZL_User_UserPoint