Error 147

"There is more than one way to join '%1' to '%2'"

Item Description

SQLCode

-147L

Constant

AMBIGUOUS_JOIN

SQLState

52W08

ODBC 2 State

37000

ODBC 3 State

42000

Sybase Error Code

2087

Severity Code

16

Parameter 1

Name of first table that cannot be joined.

Parameter 2

Name of second table that cannot be joined.

Probable cause

You are attempting to KEY JOIN two tables, and there are two or more foreign keys relating the two tables. There may be two foreign keys from the first table to the second table. It may be that each table has a foreign key to the other table. You must use a correlation name for the primary key table that is the same as the role name of the desired foreign key relationship.


Created May 6, 2011. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com