Expressions

Several different types of expressions are used in Adaptive Server syntax statements.

Table 2: Types of expressions used in syntax statements

Usage

Definition

expression

Can include constants, literals, functions, column identifiers, variables, or parameters

logical_expression

An expression that returns TRUE, FALSE, or UNKNOWN

constant_expression

An expression that always returns the same value, such as “5+3” or “ABCDE”

float_expr

Any floating-point expression or expression that implicitly converts to a floating value

integer_expr

Any integer expression or an expression that implicitly converts to an integer value

numeric_expr

Any numeric expression that returns a single value

char_expr

An expression that returns a single character-type value

binary_expression

An expression that returns a single binary or varbinary value

If you need help

Each Sybase installation that has purchased a support contract has one or more designated people who are authorized to contact Sybase Technical Support. If you cannot resolve a problem using the manuals or online help, please have the designated person contact Sybase Technical Support or the Sybase subsidiary in your area.