
10-15-2010, 02:14 PM
|
 |
|
|
Join Date: Jan 2010
Posts: 2,559
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by turbo2liter
Say I want to replace a single word in every post on the board - the word is within the content of the posts. Can anyone help me with the query to do this?
--------------- Added [DATE]1287150596[/DATE] at [TIME]1287150596[/TIME] ---------------
This?
Code:
UPDATE post SET pagetext = replace(pagetext, 'tofind', 'toreplacewith');
|
That should do it.
|