Reply to Re: what are cursors in sql???

Your name:

Reply:


Posted by Doug on 03/06/06 05:55

Hmmmm.

Perhaps I'm missing something. Rather then use recursion, or use a
loop, you are suggesting that we somehow load all possible instances
into parameters, then pass them as parameters.
Option 1 requires simple memory manipulation without any accessing of
the disk. My experience has indicated that we are ALWAYS better off to
crunch in memory without resorting to accessing the disk drive.
For option 2,
I'd be very curious as to the logic where an index could be used to
prevent a complete table scan would not be required of FOOBAR. In
other words, I can't imagine this being nearly as fast as a simple join
against a temp table.
For option 3.
Ok. I'll bite. How do you load all of those fine data values into
those fine parameters without loops and without recursion? And, any
suggestions as to how you would go about dealing with, say, 10,000
iterations, or at least, the possiblity of 10,000 iterations?
Would you REALLY create 10,000 variables, or would you just give up,
and use a loop or recursion?
I'd be very interested in learning of the application where your
solution 3 was actually used.
Thanks in advance,
-doug

[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

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