In this blog post, you’ll learn more about the Sybase Error A matching column can not be found for the foreign keys in %2. %1 and the reason for receiving this error
Sybase SQL Error Message
A matching column can not be found for the foreign keys in %2. %1
Reason for this Error
This message is returned during CREATE JOIN INDEX when the KEY options is used. Be sure that the tables specified in the join have foreign keys pointing to the table in the message.