Database Error Messages

Release
toggle
  • 23ai
  • 21c
  • 19c
Updated
Jun 24, 2024

OCI-30553

The function is not deterministic.

Cause

The function on which the index was defined was not deterministic.


Action

If the function is deterministic, mark it DETERMINISTIC. If it is not deterministic (it depends on package state, database state, current time, or anything other than the function inputs), then do not create the index. The values returned by a deterministic function should not change even when the function is rewritten or recompiled.