SQL语句备忘


1、站点访问量:update configs set counter=**
max_tim 访问量
max_online 时间

2、清除没有发过帖的积分:update user_data set integral=0 where bbs_counter=0

3、删除访问量低于20的贴子:delete from bbs_topic where counter<20

4、删除游客登陆记录:delete from user_login

文章来自: Original
引用通告: 查看所有引用 | 我要引用此文章
Tags:
相关日志:
评论: 7 | 引用: 1 | 查看次数: 765
发表评论
昵 称:
密 码: 游客发言不需要密码.
内 容:
验证码: 验证码
选 项:
虽然发表评论不用注册,但是为了保护您的发言权,建议您注册帐号.
字数限制 20 字 | UBB代码 关闭 | [img]标签 关闭