Home | Previous Page | Next Page   Extending Operators and Built-In Functions > Operators and Operator Functions >

Relational Operators

Relational operators operate on expressions of numeric and string values. The following table lists the operator functions that the database server provides.

Relational Operator
Operator Function
=
equal()
<> and !=
notequal()
>
greaterthan()
<
lessthan()
>=
greaterthanorequal()
<=
lessthanorequal()

All relational operator functions must return a Boolean value. For more information on relational operators, see the Relational Operator segment in the IBM Informix: Guide to SQL Syntax.

For end users to be able to use values of a new data type with relational operators, you must write new relational-operator functions that can handle the new data type. In these functions, you can:

The relational-operator functions are strategy functions for the built-in secondary-access method, a generic B-tree. For information on strategy functions, see Operator Classes.

Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]