SSC-FDM-OR0014
Foreign key data type mismatch.
Description
This error happens when there is a mismatch in a foreign key data type.
Example Code
Input Code:
CREATE TABLE "MyDb"."MyTable"
(
"COL1" NUMBER,
CONSTRAINT "PK" PRIMARY KEY ("COL1")
);
CREATE TABLE "MyDb"."MyTable1"
(
"COL1" NUMBER(*,0),
CONSTRAINT "FK1" FOREIGN KEY ("COL1") REFERENCES "MyDb"."MyTable" ("COL1")
);Output Code:
Recommendations
If there are cycles in the data hierarchy, you can review this article to deal with them.
If you need more support, you can email us at [email protected]
Last updated
