Subject | Re: [firebird-support] Nullable foreign keys |
---|---|
Author | Martijn Tonies |
Post date | 2004-04-29T09:39:29Z |
Hi Christian,
trying to say? Some relationsship where CHILD records
exists, but not PARENT records?
With regards,
Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird, MySQL & MS SQL
Server.
Upscene Productions
http://www.upscene.com
> > Sure it does. If you define it as NULLable :-)Then I guess we don't understand... What are you
>
> > eg:
>
> > PERSON
> > --
> > Name
> > Last_Name
> > CarID
>
> > Where "car" is a FK to table CARS. CarID should be nullable.
>
> > CARS
> > --
> > CarID
> > Name
> > Brand
> > etc...
>
> > (obviously, this design is... well, sub-optimal, but it works)
>
> for me it is not only sub-optimal, but also unsatisfying, because
> all of my FKs are linked to the PKs of other tables which must never
> be NULL.
>
> Any other idea how I can do this?
trying to say? Some relationsship where CHILD records
exists, but not PARENT records?
With regards,
Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird, MySQL & MS SQL
Server.
Upscene Productions
http://www.upscene.com