Just in case anybody else needs to do this, I had to add a comma after line 2 in the second query to get it to work. Then it ran fine! I.e. so it read:

update ubbt_FORUM_PERMISSIONS
set POLLS_IN_TOPICS=1,
POLLS_IN_REPLIES=1
where GROUP_ID <> 5


Lisa Shea, owner, BellaOnline.com
BellaOnline Website
BellaOnline Forums - UBB since Apr 2002 - 58,000 members / 850,000 posts