Our company currently provides several software systems that utilize SQL Server as a back end. Up to this point in time, our data structure has been stored in one huge table with generic field names (Field001, Field002, ect.). There is no way to make our software work with more fields.
Inside this table the record type is defined by an integer field that relates to the virtual table. (Customer = Type 5 records, Services = Type 6 records, ect) Linking between records is done through generic link fields and one identity field. Our database size ranges from a few hundred thousand records up to several million.
Thanks to new developments, we will soon, (hopefully), have the ability to utilize multiple tables. I am currently working on creating some benchmarks, but I was wondering if there might be any ideas and opinions among the group here as to what the positive and negative effects of switching from a one table design to a multi-table design would be. I've attached a list of our data structure on the one huge table we use.
Inside this table the record type is defined by an integer field that relates to the virtual table. (Customer = Type 5 records, Services = Type 6 records, ect) Linking between records is done through generic link fields and one identity field. Our database size ranges from a few hundred thousand records up to several million.
Thanks to new developments, we will soon, (hopefully), have the ability to utilize multiple tables. I am currently working on creating some benchmarks, but I was wondering if there might be any ideas and opinions among the group here as to what the positive and negative effects of switching from a one table design to a multi-table design would be. I've attached a list of our data structure on the one huge table we use.
Code:
Data_ID int
Data_Type int
Data_Link1 int
Data_Link2 int
Data_Link3 int
Data_Link4 int
Data_Link5 int
Data_Link6 int
LastEditedBy varchar(5)
LastEditedDate int
CreationDate int
Locked char(20)
Sfield001 varchar(50)
Sfield002 varchar(50)
Sfield003 varchar(50)
Sfield004 varchar(50)
Sfield005 varchar(50)
Sfield006 varchar(50)
Sfield007 varchar(50)
Sfield008 varchar(50)
Sfield009 varchar(50)
Sfield010 varchar(50)
Sfield011 varchar(50)
Sfield012 varchar(50)
Sfield013 varchar(50)
Sfield014 varchar(50)
Sfield015 varchar(50)
Sfield016 varchar(50)
Sfield017 varchar(50)
Sfield018 varchar(50)
Sfield019 varchar(50)
Sfield020 varchar(50)
Sfield021 varchar(50)
Sfield022 varchar(50)
Sfield023 varchar(50)
Sfield024 varchar(50)
Sfield025 varchar(50)
Sfield026 varchar(50)
Sfield027 varchar(50)
Sfield028 varchar(50)
Sfield029 varchar(50)
Sfield030 varchar(50)
Sfield031 varchar(50)
Sfield032 varchar(50)
Sfield033 varchar(50)
Sfield034 varchar(50)
Sfield035 varchar(50)
Sfield036 varchar(50)
Sfield037 varchar(50)
Sfield038 varchar(50)
Mfield01 varchar(100)
Mfield02 varchar(100)
Mfield03 varchar(100)
Mfield04 varchar(100)
Mfield05 varchar(100)
Mfield06 varchar(100)
Mfield07 varchar(100)
Mfield08 varchar(100)
Mfield09 varchar(100)
Mfield10 varchar(100)
Lfield01 varchar(250)
Lfield02 varchar(250)
Memo01 text
Memo02 text
Index01 varchar(50)
Index02 varchar(50)
Index03 varchar(50)
Index04 varchar(30)
Index05 varchar(30)
Index06 varchar(30)