The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Change Values In One Field
I have my vbgames table, and I want to be able to change the 'arcadepass_jackpot' on all of my 300+ games all at once, instead of going into each one and editing them one by one. Is there an SQL query that I can run that will alter all 'arcadepass_jackpot' fields from 500 to 250 (or any other number)?
|
#2
|
|||
|
|||
[sql]UPDATE vb3_arcadepass_jackpot
SET fieldname='250' WHERE fieldname='500'[/sql] Change vb3_arcadepass_jackpot to the correct 'arcadepass_jackpot' table. Change fieldname to the name of the field where the values are kept. edit.- you know how to run that query right? in vB acp or in phpMyAdmin.. |
#3
|
|||
|
|||
Yep, this is what I did and it worked fine
[sql]UPDATE vbgames SET arcadepass_jackpot='250' WHERE arcadepass_jackpot='500'[/sql] |
#4
|
|||
|
|||
OK I almost had it.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|