View references '%1', which is a temporary object. Views can only refer to permanent objects

Error constant SQLE_VIEW_OVER_TEMP_OBJECT
ODBC 2 state 42000
ODBC 3 state 42000
Parameter 1 Temporary object name.
Severity 16
SQLCODE -766
SQLSTATE 42U00
Sybase error code 4412
 Probable cause