Restrictions on Using a Value Expression

A value expression can be composed of any of the items described in Value Expression, but with the following restrictions:

  • Functions must be supported by ActiveSpaces.
  • A value expression cannot contain an aggregate function.
  • A select list that contains an aggregate function cannot also contain a value expression.
  • A value expression cannot contain parameters.
  • A value expression cannot contain SELECT statements.
  • Nested expressions are limited to a depth of 100.

Expressions are parsed into a tree for processing. If you reach the expression depth limit, consider using parentheses to reduce the depth of your expression.

For information about the limitations of using value expressions that are aggregate functions, see the section on "Aggregate Functions" in Functions Used in The Select List .