You are here: Re: Select * « MsSQL Server « IT news, forums, messages
Re: Select *

Posted by Trevor Best on 12/05/05 21:24

pb648174 wrote:
> because you would know exactly which columns were needed in the main
> app, i.e. coumn1,2 and 3 as opposed to "all of them"

All that tells me is that you don't need column4.

Having "select column1, column2, column3 from table1" doesn't
necessarily mean you need column1, column2 and column3 any more or less
than "select *", the code later on will determine those columns that you
need.

You could start with "select c1,c2,c3" then end up not using c2 at all.

 

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

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