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

Database

 
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 
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 
EVERY table needs a primary key (in an OLTP database) so the AttrID is an IDENTITY field and is the primary key.

Note the format (int) is a convention, some like GUIDs but I can't stand them. I also insist the primary key field is the FIRST field added to the table and is the table name + 'ID' so it should have been 'PersonAttrID'

When you have 100s of table you do not want to have to chasing down the name of the PK field for each.
Never underestimate the power of human stupidity
RAH

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 
AnswerRe: Conditional clause form two tables in sql server Pin
Varsha Ramnani18-Jan-12 21:56
professionalVarsha Ramnani18-Jan-12 21:56 
AnswerRe: Conditional clause form two tables in sql server Pin
David Skelly18-Jan-12 22:35
David Skelly18-Jan-12 22:35 

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.