In this blog post, you’ll learn more about the Sybase Error Invalid use of table reference type and the reason for receiving this error
Sybase SQL Error Message
Invalid use of table reference type
Reason for this Error
You tried to use a table reference type in an unsupported context. You cannot store these values in tables or read them directly from client interfaces such as ODBC, ESQL, and JDBC.