Click here to Skip to main content
15,900,461 members
Home / Discussions / Database
   

Database

 
AnswerRe: Compare table data on two different databases Pin
Corporal Agarn19-Jan-11 6:05
professionalCorporal Agarn19-Jan-11 6:05 
GeneralRe: Compare table data on two different databases Pin
vanikanc19-Jan-11 6:59
vanikanc19-Jan-11 6:59 
AnswerRe: Compare table data on two different databases Pin
Corporal Agarn19-Jan-11 7:18
professionalCorporal Agarn19-Jan-11 7:18 
AnswerRe: Compare table data on two different databases Pin
Eddy Vluggen19-Jan-11 7:20
professionalEddy Vluggen19-Jan-11 7:20 
Questionbcp command Pin
vanikanc19-Jan-11 3:22
vanikanc19-Jan-11 3:22 
AnswerRe: bcp command Pin
Pravin Patil, Mumbai19-Jan-11 3:58
Pravin Patil, Mumbai19-Jan-11 3:58 
QuestionWhen to NOT normalize? Pin
Sander Rossel18-Jan-11 10:48
professionalSander Rossel18-Jan-11 10:48 
AnswerRe: When to NOT normalize? PinPopular
dasblinkenlight18-Jan-11 12:03
dasblinkenlight18-Jan-11 12:03 
This is a very good question - in fact, there's a lengthy discussion on the subject in my favorite SQL tuning book[^].

To me, denormalization is always an exercise in query optimization. I start off with my "ideal" (i.e. normalized) schema, populate its key parts with random but realistic data, quickly prototype my queries, and then look for particularly ugly execution plans.

What your boss had in mind is probably minimizing the number of joins: if you always look for all (or a large subset of all) settings at once, and you keep doing it over and over again, using a single table for all settings will reduce the number of joins, and therefore improve your speed. However, I would not make a decision one way or the other without running a query analyzer: optimizing without a profiler is like driving in the dark without a map.
AnswerRe: When to NOT normalize? PinPopular
Mycroft Holmes18-Jan-11 13:46
professionalMycroft Holmes18-Jan-11 13:46 
AnswerRe: When to NOT normalize? Pin
Yusuf18-Jan-11 14:15
Yusuf18-Jan-11 14:15 
AnswerRe: When to NOT normalize? Pin
PIEBALDconsult18-Jan-11 18:39
mvePIEBALDconsult18-Jan-11 18:39 
GeneralRe: When to NOT normalize? Pin
Sander Rossel19-Jan-11 4:28
professionalSander Rossel19-Jan-11 4:28 
GeneralRe: When to NOT normalize? Pin
PIEBALDconsult19-Jan-11 17:49
mvePIEBALDconsult19-Jan-11 17:49 
AnswerRe: When to NOT normalize? Pin
Eddy Vluggen19-Jan-11 7:33
professionalEddy Vluggen19-Jan-11 7:33 
GeneralRe: When to NOT normalize? Pin
Sander Rossel19-Jan-11 11:00
professionalSander Rossel19-Jan-11 11:00 
GeneralRe: When to NOT normalize? Pin
Eddy Vluggen21-Jan-11 4:56
professionalEddy Vluggen21-Jan-11 4:56 
GeneralRe: When to NOT normalize? Pin
Sander Rossel21-Jan-11 8:35
professionalSander Rossel21-Jan-11 8:35 
GeneralRe: When to NOT normalize? Pin
Eddy Vluggen22-Jan-11 0:23
professionalEddy Vluggen22-Jan-11 0:23 
QuestionBringing in a New Table to Refresh an Existing One; Record Counts are Different; How do I say "Gimme the discrepant records?" Pin
Brian C Hart18-Jan-11 5:19
professionalBrian C Hart18-Jan-11 5:19 
AnswerRe: Bringing in a New Table to Refresh an Existing One; Record Counts are Different; How do I say "Gimme the discrepant records?" Pin
David Skelly18-Jan-11 6:08
David Skelly18-Jan-11 6:08 
AnswerRe: Bringing in a New Table to Refresh an Existing One; Record Counts are Different; How do I say "Gimme the discrepant records?" Pin
Chris Meech18-Jan-11 7:07
Chris Meech18-Jan-11 7:07 
GeneralRe: Bringing in a New Table to Refresh an Existing One; Record Counts are Different; How do I say "Gimme the discrepant records?" Pin
Brian C Hart18-Jan-11 7:18
professionalBrian C Hart18-Jan-11 7:18 
GeneralRe: Bringing in a New Table to Refresh an Existing One; Record Counts are Different; How do I say "Gimme the discrepant records?" Pin
Chris Meech18-Jan-11 7:35
Chris Meech18-Jan-11 7:35 
GeneralRe: Bringing in a New Table to Refresh an Existing One; Record Counts are Different; How do I say "Gimme the discrepant records?" Pin
David Skelly19-Jan-11 1:55
David Skelly19-Jan-11 1:55 
AnswerRe: Bringing in a New Table to Refresh an Existing One; Record Counts are Different; How do I say "Gimme the discrepant records?" Pin
Mycroft Holmes18-Jan-11 13:53
professionalMycroft Holmes18-Jan-11 13:53 

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.