Re: [SQL] Inheritance or no inheritance, there is a question

2003-08-20 Thread David Fetter
Josh Berkus <[EMAIL PROTECTED]> wrote: > Vernon, > >> What is the best solution for this DB scheme problem? > > Have you considered not using inheritance? As a relational-SQL geek myself, > I'm not keen on inheritance -- I feel it mucks up the relational model. Not > everyone agrees with me,

Re: [SQL] Inheritance or no inheritance, there is a question

2003-08-19 Thread Josh Berkus
Vernon, > Thanks for your suggestion. I haven't thought this structure, to compose a > table with another one. That probably is the best solution I can have. With > this approach, I need to have two tables for B. As a result, all queries, > insertion, update, deletion, of B need to operate on thes

Re: [SQL] Inheritance or no inheritance, there is a question

2003-08-18 Thread Josh Berkus
Vernon, > What is the best solution for this DB scheme problem? Have you considered not using inheritance? As a relational-SQL geek myself, I'm not keen on inheritance -- I feel it mucks up the relational model. Not everyone agrees with me, of course. Personally, I'd suggest the following s

[SQL] Inheritance or no inheritance, there is a question

2003-08-18 Thread Vernon Smith
I am working on an application system refinement. There is a user profile table in the current system. After the refinement, there are new separated roles, A and B, of the users. The role A only has a few valid fields of the original profile table while the role B still has the whole profile t