<i id='VKirV'><tr id='VKirV'><dt id='VKirV'><q id='VKirV'><span id='VKirV'><b id='VKirV'><form id='VKirV'><ins id='VKirV'></ins><ul id='VKirV'></ul><sub id='VKirV'></sub></form><legend id='VKirV'></legend><bdo id='VKirV'><pre id='VKirV'><center id='VKirV'></center></pre></bdo></b><th id='VKirV'></th></span></q></dt></tr></i><div id='VKirV'><tfoot id='VKirV'></tfoot><dl id='VKirV'><fieldset id='VKirV'></fieldset></dl></div>

      <small id='VKirV'></small><noframes id='VKirV'>

      <legend id='VKirV'><style id='VKirV'><dir id='VKirV'><q id='VKirV'></q></dir></style></legend>
        <bdo id='VKirV'></bdo><ul id='VKirV'></ul>
      1. <tfoot id='VKirV'></tfoot>

      2. SQL Server:一张表有 400 列还是 40 表有 10 列?

        SQL Server: One Table with 400 Columns or 40 Tables with 10 Columns?(SQL Server:一张表有 400 列还是 40 表有 10 列?)
          <tbody id='Ig1ej'></tbody>
        <legend id='Ig1ej'><style id='Ig1ej'><dir id='Ig1ej'><q id='Ig1ej'></q></dir></style></legend>
            <bdo id='Ig1ej'></bdo><ul id='Ig1ej'></ul>
            1. <small id='Ig1ej'></small><noframes id='Ig1ej'>

                <tfoot id='Ig1ej'></tfoot>
                • <i id='Ig1ej'><tr id='Ig1ej'><dt id='Ig1ej'><q id='Ig1ej'><span id='Ig1ej'><b id='Ig1ej'><form id='Ig1ej'><ins id='Ig1ej'></ins><ul id='Ig1ej'></ul><sub id='Ig1ej'></sub></form><legend id='Ig1ej'></legend><bdo id='Ig1ej'><pre id='Ig1ej'><center id='Ig1ej'></center></pre></bdo></b><th id='Ig1ej'></th></span></q></dt></tr></i><div id='Ig1ej'><tfoot id='Ig1ej'></tfoot><dl id='Ig1ej'><fieldset id='Ig1ej'></fieldset></dl></div>
                  本文介绍了SQL Server:一张表有 400 列还是 40 表有 10 列?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我使用的是 SQL Server 2005 Express 和 Visual Studio 2008.

                  I am using SQL Server 2005 Express and Visual Studio 2008.

                  我有一个包含 400 列的表的数据库.在我不得不在多个数据库之间执行双向同步之前,事情是(几乎可以管理的).

                  I have a database which has a table with 400 Columns. Things were (just about manageable) until I had to perform bi-directional sync between several databases.

                  我想知道支持和反对使用 400 列数据库或 40 表数据库的论据是什么?

                  I am wondering what arguments are for and against using 400 column database or 40 table database are?

                  该表未规范化,主要由 nvarchar(64) 列和一些 TEXT 列组成.(没有数据类型,因为它是从文本文件转换而来的).

                  The table in not normalised and comprises of mainly nvarchar(64) columns and some TEXT columns. (there are no datatypes as it was converted from text files).

                  还有一个表链接到这个表,并且是 1-1 关系(即一个条目与 400 列表中的一个条目相关).

                  There is one other table that links to this table and is a 1-1 relationship (i.e one entry relates to one entry in the 400 column table).

                  该表是一个列表文件,其中包含插入"到应用程序中的参数.

                  The table is a list files that contained parameters that are "plugged" into a application.

                  期待您的回复.

                  谢谢

                  推荐答案

                  根据你的流程描述,我会从这样的事情开始.该模型被简化,不捕捉历史等等——但是,它是一个很好的起点.注意:参数=属性.

                  Based on your process description I would start with something like this. The model is simplified, does not capture history, etc -- but, it is a good starting point. Note: parameter = property.


                  - 设置属性 的集合.一个设置可以有多个属性,一个属性只属于一个设置.
                  - 机器可以有多个设置,一个设置只属于一台机器.
                  - 属性是特定的类型(温度、运行时间、主轴转速),某个特定的属性可以有多种输入.
                  - 度量特质属性的类型.度量是一个数字属性,如速度.特征是一种描述性的属性,如颜色或一些文字.


                  - Setup is a collection of properties. One setup can have many properties, one property belongs to one setup only.
                  - Machine can have many setups, one setup belongs to one machine only.
                  - Property is of a specific type (temperature, run time, spindle speed), there can be many properties of a certain type.
                  - Measurement and trait are types of properties. Measurement is a numeric property, like speed. Trait is a descriptive property, like color or some text.

                  这篇关于SQL Server:一张表有 400 列还是 40 表有 10 列?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  How do I split flat file data and load into parent-child tables in database?(如何拆分平面文件数据并加载到数据库中的父子表中?)
                  Import / Export database with SQL Server Server Management Studio(使用 SQL Server Server Management Studio 导入/导出数据库)
                  How do you import a large MS SQL .sql file?(如何导入大型 MS SQL .sql 文件?)
                  SQL variable to hold list of integers(用于保存整数列表的 SQL 变量)
                  Crystal Reports vs. Microsoft SQL Server Reporting Services(Crystal Reports 与 Microsoft SQL Server Reporting Services)
                  The report definition has an invalid target namespace rsInvalidReportDefinition(报告定义具有无效的目标命名空间 rsInvalidReportDefinition)
                  <tfoot id='3mv5b'></tfoot>
                      <tbody id='3mv5b'></tbody>

                        <small id='3mv5b'></small><noframes id='3mv5b'>

                      1. <legend id='3mv5b'><style id='3mv5b'><dir id='3mv5b'><q id='3mv5b'></q></dir></style></legend>

                      2. <i id='3mv5b'><tr id='3mv5b'><dt id='3mv5b'><q id='3mv5b'><span id='3mv5b'><b id='3mv5b'><form id='3mv5b'><ins id='3mv5b'></ins><ul id='3mv5b'></ul><sub id='3mv5b'></sub></form><legend id='3mv5b'></legend><bdo id='3mv5b'><pre id='3mv5b'><center id='3mv5b'></center></pre></bdo></b><th id='3mv5b'></th></span></q></dt></tr></i><div id='3mv5b'><tfoot id='3mv5b'></tfoot><dl id='3mv5b'><fieldset id='3mv5b'></fieldset></dl></div>
                          • <bdo id='3mv5b'></bdo><ul id='3mv5b'></ul>