SQL Query to transfer threads from one forumID to another?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • aupurbo
    Member
    • Nov 2007
    • 46

    SQL Query to transfer threads from one forumID to another?

    Guys, I want to transfer all threads from forumID1 to forumID2. Is there any SQL Query that I can execute to do that? Its huge in number, and kinda pain to move them by selecting them one after another...

    Thanks on credit.
  • Lats
    Senior Member
    • Mar 2002
    • 3671

    #2
    Back up first!!...
    Code:
    UPDATE
     thread
    SET
     forumid = 2
    WHERE
     forumid = 1
    You'll need to update counters / forum information after running the query.
    Lats...

    Comment

    • aupurbo
      Member
      • Nov 2007
      • 46

      #3
      Originally posted by Lats
      Back up first!!...
      Code:
      UPDATE
       thread
      SET
       forumid = 2
      WHERE
       forumid = 1
      You'll need to update counters / forum information after running the query.
      AH!! Thanks mate. What e great relief!!!

      Comment

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