Cannot Use Foreign Keys in RLV Enabled Table

Problem: You receive the error message "The use of foreign keys in a RLV table is not supported".

Explanation

The use of foreign keys within a row-level versioning (RLV) enabled table is not supported in the current version of SAP Sybase IQ. You cannot create foreign keys on a table enabled for row-level versioning. Furthermore, you can not enable row-level versioning on a table which has foreign keys.