In this blog post, you’ll learn more about the Sybase Error No plan. HTML_PLAN function is not supported for this type of statement or database. and the reason for receiving this error
Sybase SQL Error Message
No plan. HTML_PLAN function is not supported for this type of statement or database.
Reason for this Error
You tried to get the HTML plan for a query which is either a SQL Anywhere query or a remote data access/CIS decomposed query. HTML_PLAN is supported for a pure SAP IQ query.