I'd like to use an SQL query to close all threads in a specific forum that have a specific prefix (prefix=product version). I don't know how to create queries. The best I can come up with is this:
Code:
UPDATE thread
SET open = 0
WHERE vb_thread.prefixid = X and vb_forumid=y
Would anyone that actually knows what they're doing mind helping me to create a query to do this? Thanks in advance