PDA

View Full Version : How to use mysql to delete threads > 2days old, and less < 5 replies, in a forum?


ubbuser
Wed 6th Feb '02, 8:13am
Hi can any mysql god who is well versed with the tables in vb please tell me how to delete posts with the following condition:

Delete all posts posted 2 days ago AND with replies < 5 and forum=someforumID.

Thanks in advance!

ubbuser
Fri 8th Feb '02, 12:51am
Anyone? :)

ubbuser
Thu 14th Feb '02, 10:10am
There has to be a mysql query that'll do this :p