[ milos_silni @ 28.08.2009. 16:21 ] @
| cao,
imam sledeci problem. U bazi imam varchar polje u koje upisujem html i treba da promenim varchar gde se nalazi
<img src="/poddomen/image.jpg" />
pretrazim sa ovim upitom
LIKE '%/poddomem/' da izmenim u /
<img src="/image.jpg" />
hvala!
|
[ milos_silni @ 28.08.2009. 18:25 ] @
znaci treba mi nesto kao search/replace u notepad-u
[ milos_silni @ 28.08.2009. 18:46 ] @
nasao sam
update TABLE_NAME set FIELD_NAME = replace(FIELD_NAME, ‘find this string’, ‘replace found string with this string’);
:)
Copyright (C) 2001-2025 by www.elitesecurity.org. All rights reserved.