Reply to Re: SELECT *

Your name:

Reply:


Posted by Roy Harvey on 02/20/07 12:41

I agree with you up to a point, but there are pitfalls.

Don't forget that if the SELECT * is in a stored procedure or a view,
the * is resolved into the columns when the procedure is CREATEd or
ALTERed. If you do not remember to re-ALTER them after a change to
the underlying table they will not reflect the current table
structure.

Roy Harvey
Beacon Falls, CT

On Tue, 20 Feb 2007 02:44:58 GMT, Wes Groleau
<groleau+news@freeshell.org> wrote:

>Never say never.....
>
>One of my applications loads a huge amount of data from a text file,
>sifts through and discards much of it, and rearranges what's left.
>Finally, it is added to similar data from many other files.
>
>For that last step, SELECT * is the sensible way to go.
>If you really do want everything, why force yourself to
>have to edit the select if ever a column is added or deleted?

[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

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