| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: Foreign key problem
x wrote:
> "Jay Dee" <ais01479_at_aeneas.net> wrote in message
> news:mn0kg.59063$mh.32302_at_tornado.ohiordc.rr.com...
>
>>I didn't pay much attention to this until the thread got >>surprisingly long.
>>frebe73_at_gmail.com wrote:
>>
>>>I am working on an application which need a data model that reflects
>>>the schema structure. My tables are ("*" indicates primary key column):
>>
>>The schema-before-model bit confuses me; are you really stuck in
>>this circumstance?.
>>
>>
>>>tableinfo(*table_name)
>>>columninfo(*table_name, *col_name)
>>>fk(*fk_name, pk_table, fk_table)
>>>fk_column(*fk_name, *fk_column, pk_column)
>>
>>All one really needs - using your notation - is
>>
>> tables (*table_name)
>> columns (*table_name, *col_name)
>> foreign_keys (*fk_table_name, *fk_column,
>> *pk_table_name, *pk_column)
Hmm. A _name_ /would/ be necessary to permit your example.. But what is the meaning of the overlapping constraints with different names? Received on Thu Jun 15 2006 - 06:28:24 CDT
![]() |
![]() |