Sybase Error – Cannot create foreign key to an unenforced primary key or unenforced unique constraint.

In this blog post, you’ll learn more about the Sybase Error Cannot create foreign key to an unenforced primary key or unenforced unique constraint. and the reason for receiving this error

Sybase SQL Error Message

Cannot create foreign key to an unenforced primary key or unenforced unique constraint.

Reason for this Error

Existing unenforced primary keys or unique constraints cannot be used to create an referential integrity relationship to a foreign table.