View Full Version : Delete all PM's!!!
MentaL
09-03-2004, 11:20 AM
How do i go about deleting all pms from every single user?
Zachery
09-03-2004, 01:19 PM
How do i go about deleting all pms from every single user?
Empty the pm tables O.o
notice i said empty and not drop.
AN-net
09-03-2004, 03:11 PM
use a truncate query on the pm tables;)
and make sure to reset every users pm count then:)
MentaL
09-03-2004, 09:14 PM
whats the query plz ;(
TRUNCATE TABLE pm;
TRUNCATE TABLE pmtext;
TRUNCATE TABLE pmreceipt;
UPDATE user SET pmtotal=0,pmunread=0;
MentaL
09-03-2004, 09:22 PM
code didnt work ;(
Zachery
09-03-2004, 09:53 PM
code didnt work ;(
what was the error message?
Princeton
09-04-2004, 03:37 AM
I recommend creating an Official "Queries List" (STICKY) ... it would help a lot of people. Plus, minimize the same questions being asked over and over again.
AN-net
09-04-2004, 04:03 AM
but there is a danger in giving that because hackers/users(if they got access) could destroy an entire database;)
MentaL
09-04-2004, 09:20 AM
thanks, worked
laborer75
04-15-2005, 12:22 AM
When I run the query...
TRUNCATE TABLE pm;
TRUNCATE TABLE pmtext;
TRUNCATE TABLE pmreceipt;
UPDATE user SET pmtotal=0,pmunread=0;
I get this error message...
An error occurred while attempting to execute your query. The following information was returned.
error number: 1064
error desc: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ';
TRUNCATE TABLE pmtext;
TRUNCATE TABLE pmreceipt;
UPDATE us
What am i doing wrong? Just want to mass delete all the pms from whole message board...Thanx in advance..:)
tnguy3n
04-15-2005, 12:42 AM
When I run the query...
TRUNCATE TABLE pm;
TRUNCATE TABLE pmtext;
TRUNCATE TABLE pmreceipt;
UPDATE user SET pmtotal=0,pmunread=0;
I get this error message...
An error occurred while attempting to execute your query. The following information was returned.
error number: 1064
error desc: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ';
TRUNCATE TABLE pmtext;
TRUNCATE TABLE pmreceipt;
UPDATE us
What am i doing wrong? Just want to mass delete all the pms from whole message board...Thanx in advance..:)
Try to run those queries in phpMyAdmin instead or enter one query a time in AdminCP, Execute mysql Query.
laborer75
04-15-2005, 12:56 AM
Try to run those queries in phpMyAdmin instead or enter one query a time in AdminCP, Execute mysql Query.
Thanx a million...that did it...:D
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.