Rx_
Nothing In Moderation
- Local time
- Today, 13:13
- Joined
- Oct 22, 2009
- Messages
- 2,803
Was just in a philosophical argument with another DBA about the wisdom of using one-to-one tables. He had some good arguments against, so my counter argument involved a shipping crate, transport jet, and the island of Haiti. 
However, to prove that I have an open mind, the question comes up about the use of One-to-One tables.
MS Access - linked tables to SQL Server:
The Primary table (a.k.a. Customers type table in Northwind) has about 45 fields.
The Rules Engine Meta data table has about 11 fields. Most fields are boolean or integer.
Every-time a new record is created in the Primary table, a record with the primary ID is created in the Rule Engine table.
Often, these are not really linked together. They serve two different purposes.
On the other hand, it could all be in one bigger table.
Going from 45 to 56 isn't that much of an impact on our dedicated SQL Server.
Security is one reason to split a one-to-one table. If users can get in and modify one table, and not have access to another.
A Read-Only table (e.g. Linked Server Table) is another reason to have a one-to-one table.
If any one has any pro's or con's, please share.
My thought is to prototype as a one-to-one table. Then as the design becomes solid, move the 11 fields into the Primary table.

However, to prove that I have an open mind, the question comes up about the use of One-to-One tables.
MS Access - linked tables to SQL Server:
The Primary table (a.k.a. Customers type table in Northwind) has about 45 fields.
The Rules Engine Meta data table has about 11 fields. Most fields are boolean or integer.
Every-time a new record is created in the Primary table, a record with the primary ID is created in the Rule Engine table.
Often, these are not really linked together. They serve two different purposes.
On the other hand, it could all be in one bigger table.
Going from 45 to 56 isn't that much of an impact on our dedicated SQL Server.
Security is one reason to split a one-to-one table. If users can get in and modify one table, and not have access to another.
A Read-Only table (e.g. Linked Server Table) is another reason to have a one-to-one table.
If any one has any pro's or con's, please share.
My thought is to prototype as a one-to-one table. Then as the design becomes solid, move the 11 fields into the Primary table.