Share commonly used queries

Discussion in 'vBulletin Discussions' started by Michael, Aug 31, 2009.

  1. Michael

    Michael Regular Member

    Joined:
    Jan 18, 2004
    Messages:
    166
    Likes Received:
    35
    Please share any vbulletin queries you use now and then or even every day with us.

    This is to delete all visitor messages made by a user, where X is replace with the user's userid:
    Code:
    DELETE FROM visitormessage WHERE userid=X;
     

Share This Page