You are here: Re: Select command with multiple tables « MsSQL Server « IT news, forums, messages
Re: Select command with multiple tables

Posted by Shwetabh on 02/16/06 10:53

Erland Sommarskog wrote:
> Shwetabh (shwetabhgoel@gmail.com) writes:
> > I understand what you are saying. But consider this scenario:
> > A user needs a few more fields in the database and adds them to a table
> > kept for the purpose. Now how can _those_ fields be accessed without
> > using select *?
>
> Changing the schema in a database is usually not something you do out of a
> whim, and normally by a DBA, and not just any user.
>
> And if a new field is added - how can you know off-hand that it is of
> interest to you?
>
>
> --
> Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se
>
> Books Online for SQL Server 2005 at
> http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
> Books Online for SQL Server 2000 at
> http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx

Well, apparently, since the dataabse will be used for Label printing,
the DBA has to
change the schema by adding new fields according to the requirements.
Do you suggest instead of normalising the database I should create a
single table
which holds all the fields which will be used for label? Or is thr some
better way out.
Now, since I am converting legacy database, it should be possible to
add data to the table through a single query which I cannot really
foresee happening in a normalised database.
What do u suggest?

 

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

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