Posted in 2000
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
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.