Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Obnoxio The Clown — — source: Informix-list mailing list archive (1991-1998)
From: "LuckeLuke" <nguyenq@supernet.ca>
>
> How can i create an optional Foreign Key in Informix? What i want is
>to
>create a column c1 (allow null) in a table t2 , and if c1 is not null, it
>is
>a foreign key to the parent table t1 (only if not null) .
You can't. A foreign key must point to a primary key, and a primary key is
NOT NULL.
_____________________________________________________________________________________
Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com
Your privacy choices
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.