Using a Single Row configuration table in SQL Server database. Bad idea?

后端 未结 12 1958
终归单人心
终归单人心 2020-12-12 09:19

In developing a shopping cart application I\'ve found that I needed to save settings and configurations based on the administrator\'s preferences and requirements. This info

12条回答
  •  死守一世寂寞
    2020-12-12 10:06

    You should create a table with a column for the information type and information value (at least). This way you avoid having to create new columns every time a new information is added.

提交回复
热议问题