Sybase Error – CREATE/DROP STATISTICS statement cannot refer to virtual tables

In this blog post, you’ll learn more about the Sybase Error CREATE/DROP STATISTICS statement cannot refer to virtual tables and the reason for receiving this error

Sybase SQL Error Message

CREATE/DROP STATISTICS statement cannot refer to virtual tables

Reason for this Error

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.

Leave A Reply

Your email address will not be published. Required fields are marked *

You May Also Like

In this blog post, you’ll learn more about the Sybase Error No plan. HTML_PLAN function is not supported for this...
In this blog post, you’ll learn more about the Sybase Error Division by zero and the reason for receiving this...
In this blog post, you’ll learn more about the Sybase Error Incorrect or missing encryption key and the reason for...