Dawn Buie wrote:
> I used:
>
> update media_instance set location=replace(location,'v.','')
> where location like '%/0/v.%'
>
> and that did work-
>
> thank you very much.
>
> it seems to me that the replace function is the same as translate()- no?
>
Right, I forgot your WHERE clause.
Some more details on those functions can be found here:
http://www.postgresql.org/docs/8.1/interactive/functions-string.html#FUNCTIONS-STRING-OTHER
--
_______________________________
This e-mail may be privileged and/or confidential, and the sender does
not waive any related rights and obligations. Any distribution, use or
copying of this e-mail or the information it contains by other than an
intended recipient is unauthorized. If you received this e-mail in
error, please advise me (by return e-mail or otherwise) immediately.
_______________________________