MSCEWI3002
Foreign key data type mismatch.
This is a deprecated version of the SnowConvert documentation, please visit the official site HERE.
Severity
Medium
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
Check for errors in the source code.
If you need more support, you can email us at [email protected]
Last updated
