Click here to Skip to main content
15,906,558 members
Home / Discussions / Database
   

Database

 
AnswerRe: Table Optimization Problem - SQL Server Pin
Eddy Vluggen23-Jul-10 5:06
professionalEddy Vluggen23-Jul-10 5:06 
AnswerRe: Table Optimization Problem - SQL Server Pin
Mycroft Holmes23-Jul-10 14:00
professionalMycroft Holmes23-Jul-10 14:00 
Questionprimary key Pin
Neha_Gupta23-Jul-10 2:28
Neha_Gupta23-Jul-10 2:28 
AnswerRe: primary key Pin
R. Giskard Reventlov23-Jul-10 2:34
R. Giskard Reventlov23-Jul-10 2:34 
AnswerRe: primary key Pin
Dhyanga23-Jul-10 3:01
Dhyanga23-Jul-10 3:01 
GeneralRe: primary key Pin
Neha_Gupta23-Jul-10 3:37
Neha_Gupta23-Jul-10 3:37 
GeneralRe: primary key Pin
Eddy Vluggen23-Jul-10 4:55
professionalEddy Vluggen23-Jul-10 4:55 
QuestionDatabase Normalisation Pin
Euhemerus22-Jul-10 9:00
Euhemerus22-Jul-10 9:00 
I'm currently in the process of creating a service records database for storing information on machine servicing.

In the un-normalised customer table I have three attributes for recording telephone contact details: LandlineNumber, MobileNumber and FaxNumber.

Ordinarily, these attributes should be decomposed through the normal forms; 1NF, 2NF and 3NF.

TELEPHONE_1NF(TelNumber, CustomerNumber, TelNumberType)

TELEPHONE_2NF(TelNumber, CustomerNumber)
TELEPHONE_TYPE_2NF(TelNumber, TelType)

TELEPHONE_3NF(TelNumber, CustomerNumber)
TELEPHONE_TYPE_3NF(TelNumber, TelType)

My question is, in the real world, do you database designers out there ACTUALLY do this, or would you leave the three different telephone attributes in the customer table and invite null entries? Or, do you use a different strategy completely?
There is only one satisfying way to boot a computer.

AnswerRe: Database Normalisation Pin
David Mujica22-Jul-10 10:56
David Mujica22-Jul-10 10:56 
GeneralRe: Database Normalisation Pin
Euhemerus22-Jul-10 11:05
Euhemerus22-Jul-10 11:05 
AnswerRe: Database Normalisation Pin
Mycroft Holmes22-Jul-10 14:21
professionalMycroft Holmes22-Jul-10 14:21 
AnswerRe: Database Normalisation Pin
Goutam Patra22-Jul-10 22:00
professionalGoutam Patra22-Jul-10 22:00 
AnswerRe: Database Normalisation Pin
R. Giskard Reventlov22-Jul-10 22:43
R. Giskard Reventlov22-Jul-10 22:43 
AnswerRe: Database Normalisation Pin
Eddy Vluggen22-Jul-10 23:16
professionalEddy Vluggen22-Jul-10 23:16 
GeneralRe: Database Normalisation Pin
Euhemerus23-Jul-10 3:09
Euhemerus23-Jul-10 3:09 
GeneralRe: Database Normalisation Pin
Eddy Vluggen23-Jul-10 9:13
professionalEddy Vluggen23-Jul-10 9:13 
GeneralRe: Database Normalisation Pin
Euhemerus23-Jul-10 10:08
Euhemerus23-Jul-10 10:08 
AnswerRe: Database Normalisation Pin
PIEBALDconsult23-Jul-10 7:34
mvePIEBALDconsult23-Jul-10 7:34 
GeneralRe: Database Normalisation Pin
Corporal Agarn23-Jul-10 8:21
professionalCorporal Agarn23-Jul-10 8:21 
GeneralRe: Database Normalisation Pin
Euhemerus23-Jul-10 9:17
Euhemerus23-Jul-10 9:17 
GeneralRe: Database Normalisation Pin
PIEBALDconsult23-Jul-10 9:42
mvePIEBALDconsult23-Jul-10 9:42 
GeneralRe: Database Normalisation Pin
Euhemerus23-Jul-10 10:02
Euhemerus23-Jul-10 10:02 
GeneralRe: Database Normalisation Pin
PIEBALDconsult23-Jul-10 10:03
mvePIEBALDconsult23-Jul-10 10:03 
GeneralRe: Database Normalisation Pin
Euhemerus23-Jul-10 10:15
Euhemerus23-Jul-10 10:15 
QuestionGet Max Number for each department Pin
SatyaKeerthi1521-Jul-10 19:49
SatyaKeerthi1521-Jul-10 19:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.