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 Seek failed: the requested segment offset %2 is outside...
In this blog post, you’ll learn more about the Sybase Error No indicator variable provided for NULL result and the...
In this blog post, you’ll learn more about the Sybase Error %2: Memory & disk block number mismatch; buffer={%3} page={%4}....