You are here: Re: mysql wildcards « All PHP « IT news, forums, messages
Re: mysql wildcards

Posted by mr gumpy on 10/10/26 11:39

"J.O. Aho" <user@example.net> wrote in message
news:44vo5aF3u9c9U1@individual.net...

> You need to use CONCAT and it's for strings, not for integers.
>
>
> UPDATE newCalls SET timeStamp=CONCAT('2003',timeStamp) WHERE timeStamp
> LIKE '10%';
>
> If your timestamp is in unix time, adding a year infront is to ruin the
> whole thing with timestamps.
>
>
>
> //Aho

Many thanks.
No it is not in unix time, but thanks for the warning. I should have made
clear that it is a string I cobble together.

G

 

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

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