Click here to Skip to main content
15,895,667 members
Home / Discussions / Database
   

Database

 
GeneralRe: How to add new object DataContext ? Pin
Not Active5-Dec-10 11:40
mentorNot Active5-Dec-10 11:40 
QuestionBest approach to DB Design where DB entity relates to many, many other DB entities Pin
G-Tek4-Dec-10 5:36
G-Tek4-Dec-10 5:36 
AnswerRe: Best approach to DB Design where DB entity relates to many, many other DB entities Pin
Dr.Walt Fair, PE4-Dec-10 11:09
professionalDr.Walt Fair, PE4-Dec-10 11:09 
AnswerRe: Best approach to DB Design where DB entity relates to many, many other DB entities Pin
Mycroft Holmes4-Dec-10 11:53
professionalMycroft Holmes4-Dec-10 11:53 
GeneralRe: Best approach to DB Design where DB entity relates to many, many other DB entities Pin
PIEBALDconsult4-Dec-10 15:14
mvePIEBALDconsult4-Dec-10 15:14 
GeneralRe: Best approach to DB Design where DB entity relates to many, many other DB entities Pin
G-Tek4-Dec-10 15:40
G-Tek4-Dec-10 15:40 
AnswerRe: Best approach to DB Design where DB entity relates to many, many other DB entities Pin
PIEBALDconsult4-Dec-10 15:35
mvePIEBALDconsult4-Dec-10 15:35 
GeneralRe: Best approach to DB Design where DB entity relates to many, many other DB entities Pin
G-Tek4-Dec-10 15:51
G-Tek4-Dec-10 15:51 
Hi - thanks for the input.

Truthfully our design already allows for a many-to-many - I just didn't include that detail here because I was trying to keep the explanation less "muddy". Our intent is to allow one or many notes to relate to one or many (and any combination of) customers, quotes, work orders, products, etc. The potential power of knowledge-base access based on this approach is great - the real question is going to be creating a UI that encourages the users to easily select the related criteria and/or BL that automatically selects the appropriate matching related items.

For ref integrity, one thing I forgot to mention is that we rarely ever allow record deletion through most of our objects so it should be even easier to control that programmatically.

I'd prefer to steer away from the one Notes field per table - that limits us to a very 80's approach and hardly moves us forward.

I admittedly do not invoke YAGNI enough, but in this case our immediate need for multiple fields already justifies the above approach; knowing that this will likely be expanded just adds yet another argument to the approach.

As for the approach of ref integrity not being allowed in production dbs... well I've personally seen the mess that can create. While that mess may certainly be related to holes in another processes (dev, testing, qa, etc.) I still don't expect to ever implement that type of policy. It's one thing to have orphaned records in a communication log, quite another to have an orphaned inventory audit trail!

Thanks so much for the reply.

Cheers,
Chris
GeneralRe: Best approach to DB Design where DB entity relates to many, many other DB entities Pin
PIEBALDconsult4-Dec-10 16:02
mvePIEBALDconsult4-Dec-10 16:02 
GeneralRe: Best approach to DB Design where DB entity relates to many, many other DB entities Pin
G-Tek4-Dec-10 16:10
G-Tek4-Dec-10 16:10 
GeneralRe: Best approach to DB Design where DB entity relates to many, many other DB entities Pin
PIEBALDconsult4-Dec-10 16:36
mvePIEBALDconsult4-Dec-10 16:36 
Questionaccessing ssrs2008 reports remotely with my systems IP without IIS [modified] Pin
vinu.11114-Dec-10 1:48
vinu.11114-Dec-10 1:48 
AnswerRe: accessing ssrs2008 reports remotely with my systems IP without IIS Pin
Mycroft Holmes4-Dec-10 11:45
professionalMycroft Holmes4-Dec-10 11:45 
GeneralRe: accessing ssrs2008 reports remotely with my systems IP without IIS Pin
vinu.11116-Dec-10 20:15
vinu.11116-Dec-10 20:15 
QuestionRemove Extra Whitespace between Words -- But Leave One Space in a Certain Location Pin
Brian C Hart2-Dec-10 4:23
professionalBrian C Hart2-Dec-10 4:23 
AnswerRe: Remove Extra Whitespace between Words -- But Leave One Space in a Certain Location Pin
Luc Pattyn2-Dec-10 4:44
sitebuilderLuc Pattyn2-Dec-10 4:44 
GeneralRe: Remove Extra Whitespace between Words -- But Leave One Space in a Certain Location Pin
Scubapro2-Dec-10 5:17
Scubapro2-Dec-10 5:17 
AnswerRe: Remove Extra Whitespace between Words -- But Leave One Space in a Certain Location Pin
Scubapro2-Dec-10 5:05
Scubapro2-Dec-10 5:05 
GeneralRe: Remove Extra Whitespace between Words -- But Leave One Space in a Certain Location Pin
NeverHeardOfMe4-Dec-10 0:42
NeverHeardOfMe4-Dec-10 0:42 
AnswerRe: Remove Extra Whitespace between Words -- But Leave One Space in a Certain Location PinPopular
T M Gray2-Dec-10 11:38
T M Gray2-Dec-10 11:38 
AnswerRe: Remove Extra Whitespace between Words -- But Leave One Space in a Certain Location Pin
Hiren solanki3-Dec-10 2:19
Hiren solanki3-Dec-10 2:19 
GeneralRe: Remove Extra Whitespace between Words -- But Leave One Space in a Certain Location Pin
NeverHeardOfMe4-Dec-10 0:38
NeverHeardOfMe4-Dec-10 0:38 
Questionunable to start the SQL Full Text Search Service from SQL Server Configuration Manager Pin
MahaKh1-Dec-10 20:07
MahaKh1-Dec-10 20:07 
AnswerRe: unable to start the SQL Full Text Search Service from SQL Server Configuration Manager Pin
Pete O'Hanlon1-Dec-10 23:49
mvePete O'Hanlon1-Dec-10 23:49 
QuestionRetrieving the new defalt value of a uniqueidentifier Pin
henry19511-Dec-10 14:41
henry19511-Dec-10 14:41 

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.