Supplying an operator class for a secondary access method
To supply an operator class for a secondary access method, complete the following steps:
- Write support and strategy functions for the operator class if no existing functions suit the data types that the access method indexes.
- Register each new support and strategy function with the CREATE FUNCTION statement that includes the NONVARIANT modifier.
- Assign the strategy and support functions to operator classes with the CREATE OPCLASS statement.
- Assign an operator class as default to the secondary access method with the ALTER ACCESS_METHOD statement.