The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Is there a query to replace...
I would like to know a mysql query that will replace every instance of X with Y.
Ex: Every instances of showthread.php is to be replaced with showpoo.php or something Thanks in advance -Arunan |
#2
|
||||
|
||||
Firefly posted this one a while ago. I have used it and it worked for me:
UPDATE table SET column = REPLACE(column, 'oldvalue', 'newvalue'); |
#3
|
||||
|
||||
Thank FWC,
-Arunan |
#4
|
||||
|
||||
How would I update the whole databae, and repalce every instance of 'oldvalue' with 'newvalue' ?
-Arunan |
#5
|
||||
|
||||
Couldn't you just do....
UPDATE * SET column = REPLACE(column, 'oldvalue', 'newvalue'); ??? |
#6
|
||||
|
||||
Possibly not sure, no harm in trying, so I will check it out.
Thanks -Arunan |
#7
|
||||
|
||||
you know this one?
http://www.vbulletin.org/hacks/index...ack&hackid=709 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|