View Full Version : Need to purge all signatures - help with query
stwilson
08-17-2008, 07:21 AM
I just updated my site to VB and need to purge all the existing signatures from every user account in a specific user group. Any suggestions on the query I should use?
Marco van Herwaarden
08-17-2008, 10:37 AM
Not tested but something like the following:
UPDATE usertextfield AS utf, user AS u
SET utf.signature = NULL
WHERE utf.userid=u.userid
AND u.usergroupid = 6;
Replace 6 by the usergroup.
Test first on a testboard and make a backup before running manual SQL commands on your production database.
stwilson
08-17-2008, 04:39 PM
Marco,
Thank you. That worked like a charm.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.