Delete posts with SQL directly

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hurricane_sh
    Senior Member
    • Mar 2005
    • 171

    [Forum] Delete posts with SQL directly

    I need to delete many posts in different threads, it would be very time-consuming to go through each post. So I want to do it with direct DB operation something like:

    delete from post where .....

    Assume all posts are thread replies (not the first post), will this DB operation damage the database? What else should I do?

    Thanks!



  • Mark.B
    vBulletin Support
    • Feb 2004
    • 24286
    • 6.0.X

    #2
    No, this won't work. Tables in vBulletin are cross-dependent on other tables. You cannot delete directly in the database without breaking things.
    MARK.B
    vBulletin Support
    ------------
    My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
    My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...