Click here to Skip to main content
15,911,646 members
Home / Discussions / Database
   

Database

 
AnswerRe: Application Hang when DB down Pin
SimulationofSai10-Aug-08 23:46
SimulationofSai10-Aug-08 23:46 
GeneralRe: Application Hang when DB down Pin
krishnan.s11-Aug-08 0:23
krishnan.s11-Aug-08 0:23 
QuestionFile format for data export/import Pin
petrveit10-Aug-08 8:56
petrveit10-Aug-08 8:56 
AnswerRe: File format for data export/import Pin
Mycroft Holmes10-Aug-08 16:36
professionalMycroft Holmes10-Aug-08 16:36 
GeneralRe: File format for data export/import Pin
petrveit10-Aug-08 19:11
petrveit10-Aug-08 19:11 
GeneralRe: File format for data export/import Pin
Mycroft Holmes10-Aug-08 20:20
professionalMycroft Holmes10-Aug-08 20:20 
QuestionDatabase Design Question - Table(s) for limiting user choices in a main table [modified] Pin
Elgin Rogers10-Aug-08 3:01
Elgin Rogers10-Aug-08 3:01 
AnswerRe: Database Design Question - Table(s) for limiting user choices in a main table [modified] Pin
Wendelius10-Aug-08 3:37
mentorWendelius10-Aug-08 3:37 
Hi,

In my opinion, your approach with only single "metadata" is better that seven different ones. What about the foreign keys? From your error message I understand that Status is a "metadata" table and docs is an actual data table.

How does the Docs refers to Status? If the constraint is set to ON DELETE CASCADE, do you really want that when a status is deleted, docs which have the corresponding status are also deleted?

If the problem is with update (ON UPDATE CASCADE), I think you shouldn't use keys that are updatable, but instead use surrogate keys.

Also does the main table have seven foreign key columns, one for each choice user makes. This error also occurs if you use the same column for two different foreign keys.

Mika
GeneralRe: Database Design Question - Table(s) for limiting user choices in a main table Pin
Elgin Rogers10-Aug-08 4:08
Elgin Rogers10-Aug-08 4:08 
GeneralRe: Database Design Question - Table(s) for limiting user choices in a main table Pin
Wendelius10-Aug-08 4:49
mentorWendelius10-Aug-08 4:49 
AnswerRe: Database Design Question - Table(s) for limiting user choices in a main table Pin
Elgin Rogers10-Aug-08 10:34
Elgin Rogers10-Aug-08 10:34 
GeneralRe: Database Design Question - Table(s) for limiting user choices in a main table Pin
Wendelius10-Aug-08 11:18
mentorWendelius10-Aug-08 11:18 
AnswerRe: Database Design Question - Table(s) for limiting user choices in a main table Pin
Mycroft Holmes10-Aug-08 16:30
professionalMycroft Holmes10-Aug-08 16:30 
Questiondate format and change from gregorian date to hijri date Pin
kimo code9-Aug-08 21:02
kimo code9-Aug-08 21:02 
AnswerRe: date format and change from gregorian date to hijri date Pin
Wendelius9-Aug-08 23:02
mentorWendelius9-Aug-08 23:02 
AnswerRe: date format and change from gregorian date to hijri date Pin
Jerry Hammond10-Aug-08 4:58
Jerry Hammond10-Aug-08 4:58 
Questionbetween and like condition Pin
kimo code9-Aug-08 19:54
kimo code9-Aug-08 19:54 
AnswerRe: between and like condition Pin
PIEBALDconsult9-Aug-08 20:03
mvePIEBALDconsult9-Aug-08 20:03 
GeneralRe: between and like condition Pin
kimo code9-Aug-08 20:17
kimo code9-Aug-08 20:17 
AnswerRe: between and like condition Pin
Wendelius9-Aug-08 23:00
mentorWendelius9-Aug-08 23:00 
GeneralRe: between and like condition Pin
kimo code10-Aug-08 20:01
kimo code10-Aug-08 20:01 
GeneralRe: between and like condition Pin
Wendelius11-Aug-08 5:43
mentorWendelius11-Aug-08 5:43 
AnswerRe: between and like condition Pin
Peter Appleby19-Aug-08 7:08
Peter Appleby19-Aug-08 7:08 
GeneralRe: between and like condition Pin
kimo code19-Aug-08 19:39
kimo code19-Aug-08 19:39 
Questionsql server 2000 to sql server 2005 Pin
Rameez Raja9-Aug-08 16:55
Rameez Raja9-Aug-08 16:55 

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.