表名:ZL_Com_VisitCount












序号列名数据类型长度小数位标识主键外键允许空默认值说明
1IDint40   
2UserIDint40    发表评论的用户ID
3IPvarchar5000    访问者IP
4OSVersionnvarchar5000    操作系统
5Devicenvarchar5000    设备
6Remindnvarchar5000    备注
7BrowerVersionnvarchar5000    浏览器版本
8Sourcenvarchar5000    访问源
9Addressnvarchar5000    访问者地区
10DVisitNumint40    浏览量
11CDatedatetime83    时间
12ZTypenvarchar1000     
13InfoIDnvarchar2000    内容ID
14InfoTitlenvarchar2000    内容标题

简要说明:

访问统计表

GO
CREATE TABLE [dbo].[ZL_Com_VisitCount](
[ID] [int] IDENTITY(1,1) NOT NULL,
[UserID] [int] NULL,
[IP] [varchar](500) NULL,
[OSVersion] [nvarchar](500) NULL,
[Device] [nvarchar](500) NULL,
[Remind] [nvarchar](500) NULL,
[BrowerVersion] [nvarchar](500) NULL,
[Source] [nvarchar](500) NULL,
[Address] [nvarchar](500) NULL,
[DVisitNum] [int] NULL,
[CDate] [datetime] NULL,
[ZType] [nvarchar](100) NULL,
[InfoID] [nvarchar](200) NULL,
[InfoTitle] [nvarchar](200) NULL,
CONSTRAINT [PK_ZL_Com_VisitCount] 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_Com_VisitCount

--注意:将删除整个表

drop table ZL_Com_VisitCount

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

TRUNCATE table ZL_Com_VisitCount