New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Default column(s) for REFERENCES [DOC1] #15
Comments
Commented by: Alice F. Bird (firebirds) Date: 2005-10-03 17:40 Our current behaviour is 100% standard compliant. I'm |
Modified by: Alice F. Bird (firebirds)description: SFID: 458863# In Language Reference, there is written for REFERENCES ===== REFERENCES Specifies that the column values are
|
Commented by: @paulvink Even in InterBase 6, an FK without explicit target column already referenced the PK of the target table. I've documented the correct behaviour in the LangRefUpdates. |
Modified by: @paulvinkstatus: Resolved [ 5 ] => Closed [ 6 ] |
Submitted by: prenosil (prenosil)
SFID: 458863#
Submitted By: prenosil
In Language Reference, there is written for REFERENCES
keyword used in CREATE TABLE and ALTER TABLE commands:
=====
<col_constraint> = [CONSTRAINT constraint] ...
REFERENCES other_table [( other_col [,
other_col ...])] ...
REFERENCES Specifies that the column values are
derived from column values in
another table; if you do not specify column names,
InterBase looks for
a column with the same name as the referencing column
in the
referenced table.
Current (and I think that correct) behaviour is that
if you do not specify column names, primary key
from referenced table is used.
The text was updated successfully, but these errors were encountered: