CREATE/DROP STATISTICS statement cannot refer to virtual tables
|ODBC 2 State
|ODBC 3 State
|Sybase error code
You attempted to use CREATE/DROP STATISTICS to create/drop one or more histograms on a virtual database object, such as a
view or remote table. The CREATE STATISTICS and DROP STATISTICS statements can only refer to base tables, local temporary
tables, or global temporary tables in the SQL Anywhere database that you are connected to.