You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some RDBMS allow specification of FOREIGN KEYs at the end of a CREATE TABLE statement. We should allow it.
CREATE TABLE TBL1
(
ID INT NOT NULL,
COL1 INT,
FOREIGN KEY (COL1) REFERENCES TBL2 (COLX)
)
The complication is that the related table needs to exist, so need to introduce ordering into table creation whereas without this we don't (and just send the CREATE FK statement when both tables exist)
The text was updated successfully, but these errors were encountered:
Some RDBMS allow specification of FOREIGN KEYs at the end of a CREATE TABLE statement. We should allow it.
CREATE TABLE TBL1
(
ID INT NOT NULL,
COL1 INT,
FOREIGN KEY (COL1) REFERENCES TBL2 (COLX)
)
The complication is that the related table needs to exist, so need to introduce ordering into table creation whereas without this we don't (and just send the CREATE FK statement when both tables exist)
The text was updated successfully, but these errors were encountered: