![]() |
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! |
[sql]UPDATE user SET usergroupid='2' WHERE posts='0'[/sql]
|
not exact:
[sql]UPDATE user SET usergroupid='2' WHERE posts='0' AND usergroupid=2[/sql] that's the correct way |
Quote:
... or is it : [sql]UPDATE user SET usergroupid='2' WHERE posts='0' AND usergroupid=21[/sql] |
tHE DSS wins the prize! ;)
|
:laugh: Thank you all for your responses!
|
damn, i'm too fast in typing... ;)
|
All times are GMT. The time now is 10:46 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|