Click here to Skip to main content
15,899,937 members
Home / Discussions / Database
   

Database

 
AnswerRe: MYSQL ERROR Pin
hbjs18-Jan-06 16:46
hbjs18-Jan-06 16:46 
QuestionSQL 2005 - Auto connect to DB engines Pin
cmk18-Jan-06 14:46
cmk18-Jan-06 14:46 
AnswerRe: SQL 2005 - Auto connect to DB engines Pin
Dave Kreskowiak20-Jan-06 4:41
mveDave Kreskowiak20-Jan-06 4:41 
GeneralRe: SQL 2005 - Auto connect to DB engines Pin
cmk20-Jan-06 11:36
cmk20-Jan-06 11:36 
QuestionSQL Table Design Pin
Alexandru Serban18-Jan-06 10:39
professionalAlexandru Serban18-Jan-06 10:39 
AnswerRe: SQL Table Design Pin
Russell Nash19-Jan-06 1:54
Russell Nash19-Jan-06 1:54 
GeneralRe: SQL Table Design Pin
Alexandru Serban19-Jan-06 2:26
professionalAlexandru Serban19-Jan-06 2:26 
GeneralRe: SQL Table Design Pin
Russell Nash19-Jan-06 2:56
Russell Nash19-Jan-06 2:56 
I think you're making the problem a little more complicated than it needs to be. Check out one-to-one relationships. That should enable you to enforce referential integrity between the tables. The only thing you'd need to add logic to enforce is having a record in the Person table if and only if the EntityType is "Person." And similarly for each of the other entity types. Even that isn't entirely necessary, if you'd rather put logic into your views and stored procedures to make different joins based on the EntityType (a little tricky, but hardly impossible).
QuestionGenerate Unique ID Pin
mcgann18-Jan-06 6:53
mcgann18-Jan-06 6:53 
AnswerRe: Generate Unique ID Pin
Farhan Noor Qureshi18-Jan-06 7:24
Farhan Noor Qureshi18-Jan-06 7:24 
QuestionER Diagrams Pin
kids1718-Jan-06 5:07
kids1718-Jan-06 5:07 
AnswerRe: ER Diagrams Pin
Colin Angus Mackay18-Jan-06 5:28
Colin Angus Mackay18-Jan-06 5:28 
QuestionMoving data between servers Pin
Russell Nash18-Jan-06 2:54
Russell Nash18-Jan-06 2:54 
GeneralRe: Moving data between servers Pin
PolarbearDK18-Jan-06 4:57
PolarbearDK18-Jan-06 4:57 
AnswerRe: Moving data between servers Pin
Farhan Noor Qureshi18-Jan-06 7:34
Farhan Noor Qureshi18-Jan-06 7:34 
Questionquery for unique customers Pin
imsathy18-Jan-06 2:22
imsathy18-Jan-06 2:22 
AnswerRe: query for unique customers Pin
Colin Angus Mackay18-Jan-06 2:50
Colin Angus Mackay18-Jan-06 2:50 
QuestionRe: query for unique customers Pin
imsathy18-Jan-06 3:17
imsathy18-Jan-06 3:17 
AnswerRe: query for unique customers Pin
Colin Angus Mackay18-Jan-06 4:00
Colin Angus Mackay18-Jan-06 4:00 
GeneralRe: query for unique customers Pin
imsathy18-Jan-06 18:32
imsathy18-Jan-06 18:32 
QuestionHow to assign dataset in Reporting Services 2005? Pin
Diego F.17-Jan-06 22:48
Diego F.17-Jan-06 22:48 
Questionmultiple update problem in datagrid Pin
sood_is_in17-Jan-06 21:24
sood_is_in17-Jan-06 21:24 
AnswerRe: multiple update problem in datagrid Pin
Alexandru Serban18-Jan-06 10:59
professionalAlexandru Serban18-Jan-06 10:59 
QuestionNeed Help With Creating an Easy Code. Pin
CoMMyz17-Jan-06 21:19
CoMMyz17-Jan-06 21:19 
AnswerRe: Need Help With Creating an Easy Code. Pin
Russell Nash18-Jan-06 2:58
Russell Nash18-Jan-06 2:58 

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.