表名:ZL_User_DummyPoint












序号列名数据类型长度小数位标识主键外键允许空默认值说明
1ExpHisIDint40  虚拟币记录主键
2UserIDint40    发起关注的用户
3Scoremoney84    积分数值
4HisTimedatetime83    产生时间
5Operatorint40    操作人
6Detailnvarchar10000    备注
7OperatorIPnvarchar2000    操作人IP
8ScoreTypeint40    积分类型
9Remarknvarchar2000    使用备注

简要说明:

用户虚拟币出入日志

GO
CREATE TABLE [dbo].[ZL_User_DummyPoint](
[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_DummyPoint] 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_DummyPoint

--注意:将删除整个表

drop table ZL_User_DummyPoint

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

TRUNCATE table ZL_User_DummyPoint