PDA

View Full Version : Mass Unstick


isman
12-27-2002, 11:48 PM
Can someone please come up with a code the will mass unstick threads. While working on my development site I prune most of the posts so the database is smaller but it takes me forever to unstick those stupid posts.

I'm sure it can't be that hard, I'm just not savvy enough to figure it out.

Thanks in advance.

isman

Mystis
12-28-2002, 02:31 AM
Run this sql query on your vb database :)
UPDATE thread set sticky=0 where sticky=1

Xenon
12-28-2002, 08:44 PM
you don't need the where clause here

UPDATE thread SET sticky=0 is enough here ;)