Sybase Error – A CONTAINS query is not allowed on the view or derived table ‘%1’.

In this blog post, you’ll learn more about the Sybase Error A CONTAINS query is not allowed on the view or derived table ‘%1’. and the reason for receiving this error

Sybase SQL Error Message

A CONTAINS query is not allowed on the view or derived table ‘%1’.

Reason for this Error

A query expression (a view or a derived table) can only be queried using CONTAINS predicates if it does not use TOP, FIRST, LIMIT, or window aggregates in its nested query blocks. A query expression can only be queried using CONTAINS in the FROM clause if it has one nested query block, and it does not use DISTINCT, GROUP BY, TOP, FIRST, LIMIT, or window aggregates. In addition, the list of columns to search must all come from a single query expression or base table in the FROM clause of each nested query block. If more than one text index is used in the nested query blocks, they must have the same text configuration.

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...