Click here to Skip to main content
15,888,401 members
Home / Discussions / Database
   

Database

 
GeneralRe: SQL Server. Insert into table whiles querying Pin
David Mujica17-May-11 9:04
David Mujica17-May-11 9:04 
AnswerRe: SQL Server. Insert into table whiles querying Pin
SilimSayo17-May-11 3:07
SilimSayo17-May-11 3:07 
AnswerRe: SQL Server. Insert into table whiles querying Pin
Shameel17-May-11 5:04
professionalShameel17-May-11 5:04 
AnswerRe: SQL Server. Insert into table whiles querying Pin
S Douglas8-Jun-11 5:52
professionalS Douglas8-Jun-11 5:52 
QuestionAdding Columns to derived table vs temp table Pin
MAW3016-May-11 13:53
MAW3016-May-11 13:53 
AnswerRe: Adding Columns to derived table vs temp table Pin
loveangel88816-May-11 18:03
loveangel88816-May-11 18:03 
AnswerRe: Adding Columns to derived table vs temp table Pin
SilimSayo17-May-11 5:00
SilimSayo17-May-11 5:00 
QuestionRelation Theory Pin
bfis10813716-May-11 4:16
bfis10813716-May-11 4:16 
I am not new but somehow I have really avoided getting too involved in database design. My question is fairly basic. If I have a relationship where one object technically possesses many of another, should I just make a standard many to one relation or should I create a bridge table? I will give an example. Let's say that I am trying to keep track of credit card numbers and their owners which I am not just so I don't get screamed at by the security people. The real example would be too hard to explain but this is comparable. So anyways, should I have a credit card numbers table that will have ID (pri key), CCnumber, and Owner columns? Then I would point the Owner column at the pri key column in the People table right? Does it matter that technically that people own credit cards and then maybe I should be making a bridge table? My hunch is that I don't need a bridge table but since this is going to be a big project, I would rather not find out the hard way after I have over 100 tables.
AnswerRe: Relation Theory Pin
SilimSayo16-May-11 6:18
SilimSayo16-May-11 6:18 
AnswerRe: Relation Theory Pin
Shameel17-May-11 4:32
professionalShameel17-May-11 4:32 
Questionmembers db or table? Pin
Jassim Rahma15-May-11 2:13
Jassim Rahma15-May-11 2:13 
AnswerRe: members db or table? Pin
dasblinkenlight15-May-11 22:54
dasblinkenlight15-May-11 22:54 
GeneralRe: members db or table? Pin
Jassim Rahma16-May-11 3:41
Jassim Rahma16-May-11 3:41 
GeneralRe: members db or table? Pin
dasblinkenlight16-May-11 3:50
dasblinkenlight16-May-11 3:50 
GeneralRe: members db or table? Pin
Jassim Rahma16-May-11 4:02
Jassim Rahma16-May-11 4:02 
GeneralRe: members db or table? Pin
dasblinkenlight16-May-11 4:10
dasblinkenlight16-May-11 4:10 
AnswerRe: members db or table? Pin
Shameel17-May-11 4:34
professionalShameel17-May-11 4:34 
QuestionUsing a variable table [modified] Pin
MAW3014-May-11 9:28
MAW3014-May-11 9:28 
AnswerRe: Using a variable table Pin
jschell14-May-11 11:39
jschell14-May-11 11:39 
QuestionDynamic column based on row Pin
Ramkumar_S13-May-11 23:26
Ramkumar_S13-May-11 23:26 
AnswerRe: Dynamic column based on row Pin
dasblinkenlight15-May-11 22:47
dasblinkenlight15-May-11 22:47 
QuestionMySql Foreign key referencing Pin
sajid.salim.khan13-May-11 21:39
sajid.salim.khan13-May-11 21:39 
AnswerRe: MySql Foreign key referencing Pin
Shameel17-May-11 4:38
professionalShameel17-May-11 4:38 
QuestionMySql Foreign key Pin
sajid.salim.khan13-May-11 21:24
sajid.salim.khan13-May-11 21:24 
AnswerRe: MySql Foreign key Pin
jschell14-May-11 11:42
jschell14-May-11 11:42 

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.