表名:ZL_Hits












序号列名数据类型长度小数位标识主键外键允许空默认值说明
1IDint40   
2GIDint40    内容模型ID
3Uidint40    用户ID
4UpdateTimedatetime83    更新时间
5Ipnvarchar500    IP地址
6statusint40    状态

简要说明:

点击数与访问信息表

GO
CREATE TABLE [dbo].[ZL_Hits](
[ID] [int] IDENTITY(1,1) NOT NULL,
[GID] [int] NOT NULL,
[Uid] [int] NULL,
[UpdateTime] [datetime] NOT NULL,
[Ip] [nvarchar](50) NULL,
[status] [int] NULL,
CONSTRAINT [PK_ZL_Hits] 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_Hits

--注意:将删除整个表

drop table ZL_Hits

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

TRUNCATE table ZL_Hits