You are here: Re: dynamically trasnpose rows into columns « MsSQL Server « IT news, forums, messages
Re: dynamically trasnpose rows into columns

Posted by Doug on 12/22/05 21:36

wow. Celko suggesting a totally flattened, junk data model. by far,
this is the worst solution so far. A better solution is to brute force
a temp table and populate it each time you want the report. If you do
it this way, at least your number of columns can be dynamic.

Add an identity field. Trust me, you will like it for hte long term.

On your pivot table, can you use a "min" function as your aggregation?
If so, maybe we can "cheat" the pivot table into diplaying the minimum
color for each identity.

 

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

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