Click here to Skip to main content
16,015,641 members
Home / Discussions / Database
   

Database

 
AnswerRe: Null handling oddity Pin
Corporal Agarn23-Jan-12 5:09
professionalCorporal Agarn23-Jan-12 5:09 
GeneralRe: Null handling oddity Pin
thrakazog23-Jan-12 8:12
thrakazog23-Jan-12 8:12 
AnswerRe: Null handling oddity Pin
jschell23-Jan-12 8:33
jschell23-Jan-12 8:33 
GeneralRe: Null handling oddity Pin
thrakazog23-Jan-12 10:54
thrakazog23-Jan-12 10:54 
QuestionUser Group Membership Pin
eddieangel19-Jan-12 11:40
eddieangel19-Jan-12 11:40 
AnswerRe: User Group Membership Pin
Mycroft Holmes19-Jan-12 12:01
professionalMycroft Holmes19-Jan-12 12:01 
GeneralRe: User Group Membership Pin
eddieangel19-Jan-12 12:05
eddieangel19-Jan-12 12:05 
GeneralRe: User Group Membership Pin
Mycroft Holmes19-Jan-12 13:00
professionalMycroft Holmes19-Jan-12 13:00 
You have 2 real choices, add each attribute as a column in the person table (accepting that a lot will be blank) or add another table of person attributes and only link the valid attributes to each person record.

AttrType
AttrTypeID
Attr [Licence No]

PersonAttr
AttrID
AttrTypeID
AttrValue [123456A]

The attributed solution is technically the most correct method, it is also the most complex and that complexity can cause issues. The column method means that every time you need to add an attribute you have to touch the code. It then becomes a business decision which way to go.
Never underestimate the power of human stupidity
RAH

GeneralRe: User Group Membership Pin
eddieangel19-Jan-12 14:30
eddieangel19-Jan-12 14:30 
GeneralRe: User Group Membership Pin
Mycroft Holmes19-Jan-12 14:40
professionalMycroft Holmes19-Jan-12 14:40 
GeneralRe: User Group Membership Pin
eddieangel20-Jan-12 6:16
eddieangel20-Jan-12 6:16 
GeneralRe: User Group Membership Pin
eddieangel20-Jan-12 6:51
eddieangel20-Jan-12 6:51 
GeneralRe: User Group Membership Pin
Jörgen Andersson21-Jan-12 1:43
professionalJörgen Andersson21-Jan-12 1:43 
GeneralRe: User Group Membership Pin
jschell20-Jan-12 12:51
jschell20-Jan-12 12:51 
AnswerRe: User Group Membership Pin
SilimSayo25-Jan-12 9:41
SilimSayo25-Jan-12 9:41 
QuestionConnectivity Options - selecting datasources on the fly Pin
john john mackey19-Jan-12 8:09
john john mackey19-Jan-12 8:09 
AnswerRe: Connectivity Options - selecting datasources on the fly Pin
Jörgen Andersson20-Jan-12 12:29
professionalJörgen Andersson20-Jan-12 12:29 
QuestionWhere to get suitable SQL Server Management Studio? Pin
adityarao3119-Jan-12 0:34
adityarao3119-Jan-12 0:34 
AnswerRe: Where to get suitable SQL Server Management Studio? Pin
Pete O'Hanlon19-Jan-12 0:42
mvePete O'Hanlon19-Jan-12 0:42 
AnswerRe: Where to get suitable SQL Server Management Studio? Pin
adityarao3119-Jan-12 18:01
adityarao3119-Jan-12 18:01 
QuestionConditional clause form two tables in sql server Pin
Seema Bawa18-Jan-12 12:48
Seema Bawa18-Jan-12 12:48 
AnswerRe: Conditional clause form two tables in sql server Pin
_Damian S_18-Jan-12 13:03
professional_Damian S_18-Jan-12 13:03 
GeneralRe: Conditional clause form two tables in sql server Pin
Varsha Ramnani18-Jan-12 21:51
professionalVarsha Ramnani18-Jan-12 21:51 
GeneralRe: Conditional clause form two tables in sql server Pin
David Skelly18-Jan-12 22:28
David Skelly18-Jan-12 22:28 
GeneralRe: Conditional clause form two tables in sql server Pin
Varsha Ramnani19-Jan-12 1:00
professionalVarsha Ramnani19-Jan-12 1:00 

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.