You attempted to create a foreign key constraint using create_foreign_constraint() on a table that does not exist or references a table that does not exist.
Ensure the foreign key constraint uses a valid table name for the constraint itself and for the primary key table.
- Was the original table name spelled correctly?
- Does the table need to be qualified with a schema?
- Use the star$tables view to find the available tables