You are here: Mysql: Order by Replace () « PHP Programming Language « IT news, forums, messages
Mysql: Order by Replace ()

Posted by bill on 03/18/07 18:50

Thanks to a kind member of this group I was able to write a
select that ignored "The " in a field:
ORDER BY REPLACE(kennel_name,'The ','')
and it works fine.

I did check the mysql documentation site, but couldn't find this
use of replace.

What I want to do now is ignore "The " and "A " in a select, ie:
replace both "The " and "A " with "".

What would be the correct syntax ?

bill

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация