Reply to Re: select on updated value during the fetch

Your name:

Reply:


Posted by Jerry Stuckle on 12/18/58 11:50

cdtsly@relayeur.com wrote:
> in fact, i need this order because i am rebuilding a table and i need
> to do this way
>
> i have a workaround with generating no fetch of all the table, but to
> select the rows one by one
> which give a stupid number of query( 200 000 rows=>200 000 query) and
> it take a lot of time naturally :-)
>
> i made this example to show my problem
>
> is not there a possibility to fetch a special way which can take in
> consideration freshness?
>
>

No. Once rows are fetched, MySQL (or any other RDB) will not update an already
fetched value just because it has been updated. That's a big reason why you
shouldn't update tables while fetching data, unless you're updating the data you
just fetched.

P.S. Please don't top post.


--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[Back to original 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

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