Click here to Skip to main content
15,886,919 members
Home / Discussions / Database
   

Database

 
AnswerRe: Random or sequential allocation Pin
Blue_Boy10-Mar-09 13:32
Blue_Boy10-Mar-09 13:32 
Question@@Identity and triggers Pin
Distind10-Mar-09 3:51
Distind10-Mar-09 3:51 
AnswerRe: @@Identity and triggers Pin
Mycroft Holmes10-Mar-09 16:35
professionalMycroft Holmes10-Mar-09 16:35 
QuestionCannot connect to SQL express database on XP Home edition under a new admin login Pin
Shrikant Gujar9-Mar-09 23:11
Shrikant Gujar9-Mar-09 23:11 
QuestionComposite Primary Key Pin
Jay Royall9-Mar-09 22:02
Jay Royall9-Mar-09 22:02 
AnswerRe: Composite Primary Key Pin
Rob Philpott9-Mar-09 23:21
Rob Philpott9-Mar-09 23:21 
GeneralRe: Composite Primary Key Pin
Jay Royall9-Mar-09 23:36
Jay Royall9-Mar-09 23:36 
AnswerRe: Composite Primary Key Pin
Curtis Schlak.10-Mar-09 13:29
Curtis Schlak.10-Mar-09 13:29 
Theoretically writing, I think composite keys are the way to go because they suggest to the consumer of the database that these are the pieces of data that define a unique row in the table.

Practically writing, if you or programmers that use the database want to use one of the many Object-Relational Mappers out there, quite quickly you'll/they'll start complaining because composite keys make them really hard to use. Quite often you end up with the integral primary key and the unique constraint that Rob Philpot describes above.

"we must lose precision to make significant statements about complex systems."
-deKorvin on uncertainty

AnswerRe: Composite Primary Key Pin
Mycroft Holmes10-Mar-09 16:43
professionalMycroft Holmes10-Mar-09 16:43 
Questionhow to generate ID field with auto numbering Pin
sharp_k9-Mar-09 12:44
sharp_k9-Mar-09 12:44 
AnswerRe: how to generate ID field with auto numbering Pin
Luc Pattyn9-Mar-09 13:15
sitebuilderLuc Pattyn9-Mar-09 13:15 
AnswerRe: how to generate ID field with auto numbering Pin
Reza Raad9-Mar-09 18:20
Reza Raad9-Mar-09 18:20 
QuestionDB2 - SQL where selects field that contains @ Pin
Kschuler9-Mar-09 6:43
Kschuler9-Mar-09 6:43 
Answer2 Pin
Luc Pattyn9-Mar-09 7:11
sitebuilderLuc Pattyn9-Mar-09 7:11 
GeneralRe: 2 Pin
Kschuler9-Mar-09 7:19
Kschuler9-Mar-09 7:19 
GeneralRe: 2 Pin
Luc Pattyn9-Mar-09 7:34
sitebuilderLuc Pattyn9-Mar-09 7:34 
GeneralRe: 2 Pin
Kschuler9-Mar-09 7:38
Kschuler9-Mar-09 7:38 
GeneralRe: 2 Pin
Luc Pattyn9-Mar-09 7:48
sitebuilderLuc Pattyn9-Mar-09 7:48 
GeneralRe: 2 Pin
Kschuler9-Mar-09 8:05
Kschuler9-Mar-09 8:05 
AnswerRe: DB2 - SQL where selects field that contains @ Pin
Kschuler9-Mar-09 9:08
Kschuler9-Mar-09 9:08 
GeneralRe: DB2 - SQL where selects field that contains @ Pin
Luc Pattyn9-Mar-09 10:01
sitebuilderLuc Pattyn9-Mar-09 10:01 
Questionhow to use stored procedure argument with like operator Pin
Meax7-Mar-09 8:03
Meax7-Mar-09 8:03 
AnswerRe: how to use stored procedure argument with like operator Pin
Meax7-Mar-09 9:31
Meax7-Mar-09 9:31 
GeneralRe: how to use stored procedure argument with like operator Pin
Colin Angus Mackay7-Mar-09 12:23
Colin Angus Mackay7-Mar-09 12:23 
GeneralRe: how to use stored procedure argument with like operator Pin
Rami Said Abd Alhalim9-Mar-09 21:43
Rami Said Abd Alhalim9-Mar-09 21:43 

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.