How many columns are too many for a SQL Server 2005 table?

后端 未结 10 2304
渐次进展
渐次进展 2020-12-31 10:39

I have a request to allow a dynamic table to have 1000 columns(randomly selected by my end users). This seems like a bad idea to me. It\'s a customizable table so it will

10条回答
  •  清酒与你
    2020-12-31 10:53

    I have to disagree with everyone here.....I know it sounds mad but using tables with hundreds of columns is the best thing I have ever done.

    Yes many columns frequently have null values; Yes I could normalise it to just a few tables and transpose; Yes it is inefficient

    However it is incredibly fast and easy to analyze column data in endless different ways

    Wasteful and inelegant - you'll never build anything as useful!

提交回复
热议问题