The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
query help please
I need a query I can run through phpmyadmin, that will move everyone with "0" posts from usergroup 21 to usergroup 2. Can someone show me the proper syntax for that?
Thank you! |
#2
|
||||
|
||||
[sql]UPDATE user SET usergroupid='2' WHERE posts='0'[/sql]
|
#3
|
||||
|
||||
not exact:
[sql]UPDATE user SET usergroupid='2' WHERE posts='0' AND usergroupid=2[/sql] that's the correct way |
#4
|
||||
|
||||
Quote:
... or is it : [sql]UPDATE user SET usergroupid='2' WHERE posts='0' AND usergroupid=21[/sql] |
#5
|
||||
|
||||
tHE DSS wins the prize!
|
#6
|
|||
|
|||
:laugh: Thank you all for your responses!
|
#7
|
||||
|
||||
damn, i'm too fast in typing...
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|