Correlation name '%1' is not valid for use with the ROWID function

Error constant SQLE_INVALID_CORRELATION_FOR_ROWID
ODBC 2 State ERROR
ODBC 3 State ERROR
Parameter 1 Name of the invalid correlation name.
Severity 15
SQLCODE –1113
SQLSTATE 42WBF
Sybase error code 13401
Probable cause

The correlation name used was not valid for the ROWID function. Only the correlation names of base tables, temporary tables, global temporary tables or proxy tables may be used with the ROWID function. The argument of a ROWID function should not refer to a view, derived table, common table expression, or a procedure.