| |
إنضمامك إلي منتديات استراحات زايد يحقق لك معرفة كل ماهو جديد في عالم الانترنت ...
انضم الينا| |
|
#1
| ||
| ||
| Hi, I would like to delete duplicate posts in a specific forum on my site. I found this thread in a search. http://www.vbulletin.com/forum/showt...uplicate+posts The code in there said to do this. Code: SELECT bad_rows. * FROM post AS bad_rows INNER JOIN ( SELECT threadid, dateline, username, userid, MIN( postid ) AS min_postid FROM post GROUP BY threadid, dateline, userid HAVING count( * ) >1 ) AS good_rows ON good_rows.threadid = bad_rows.threadid AND good_rows.dateline = bad_rows.dateline AND good_rows.userid = bad_rows.userid AND good_rows.min_postid bad_rows.postid Assuming I have backed the database up and switched off the forums, how would I direct this at say forumid 16 rather than the entire forum. Many thanks. __DEFINE_LIKE_SHARE__ |
![]() |
| مواقع النشر (المفضلة) |
| |
المواضيع المتشابهه | ||||
| الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
| Duplicate Last Posts | محروم.كوم | منتدى أخبار المواقع والمنتديات العربية والأجنبية | 0 | 01-22-2010 02:50 AM |
| deleting old threads and posts help | محروم.كوم | منتدى أخبار المواقع والمنتديات العربية والأجنبية | 0 | 12-04-2009 10:00 PM |
| deleting all posts from an IP address | محروم.كوم | منتدى أخبار المواقع والمنتديات العربية والأجنبية | 0 | 07-09-2009 09:10 PM |
| Deleting Pictures from old posts | محروم.كوم | منتدى أخبار المواقع والمنتديات العربية والأجنبية | 0 | 06-16-2009 02:21 AM |
| Deleting Pictures from old posts | محروم.كوم | منتدى أخبار المواقع والمنتديات العربية والأجنبية | 0 | 06-16-2009 02:11 AM |