replacing a word in a column

Started by Dollar $almost 23 years ago3 messagesdocs
Jump to latest
#1Dollar $
torkian@ce.sharif.edu

Hello everybody,

Sorry if my question is too easy,

Can I search after a word in a column and replace it with another word
just using queries??
I'm using PHP and MySQL database.

e.g:

my name is payam --> my name was payam

any help?
thanks,
payam.

#2scott.marlowe
scott.marlowe@ihs.com
In reply to: Dollar $ (#1)
Re: replacing a word in a column

On Sat, 3 May 2003, Dollar $ wrote:

Hello everybody,

Sorry if my question is too easy,

Can I search after a word in a column and replace it with another word
just using queries??
I'm using PHP and MySQL database.

You DO realize this is the Postgresql documentation mailing list, the one
for making suggestions and changes to the documentation of Postgresql?

It's not like I'm being pissy about it, it's just highly unlikely that
you'll find enough MySQL expertise to help you out here.

#3Robert Treat
xzilla@users.sourceforge.net
In reply to: Dollar $ (#1)
Re: replacing a word in a column

I'm pretty sure you can do this, but you need to install postgresql
first.

:-)

Robert Treat

Show quoted text

On Sat, 2003-05-03 at 05:59, Dollar $ wrote:

Hello everybody,

Sorry if my question is too easy,

Can I search after a word in a column and replace it with another word
just using queries??
I'm using PHP and MySQL database.

e.g:

my name is payam --> my name was payam

any help?
thanks,
payam.

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster