1:批量删除回帖 pre_forum_post 表中存储地是论坛帖子和回复.每增加一个帖子或者回复,pid值+1.
first值为1地,代表是主题.first值为0地,代表是回帖.
delete from pre_forum_post where pid>3 and pid<16283795 and first=0;
2:批量删除用户签名
update pre_common_member_field_forum set sightml='';
3:批量删除n天前地用户短消息
delete from pre_ucenter_pm_messages_0 where dateline < 1353327620 ;
时间戳可以从这里转换 http://tool.chinaz.com/tools/unixtime.aspx
4:调整某个帖子地点击数
update cdb_threads set views=点击数 where tid=主题编号;
update `cdb_forums` set `allowmediacode` = '1'
5:一次性关闭板块fid20帖子
update `cdb_threads` set `closed` = '1' where `fid` =20 ;
中国足彩网信息请查看IT技术专栏
2025国考·省考课程试听报名