Database Error Messages

OCI-03809

invalid database context for CURRENT_SHARD_KEY or CURRENT_PSET_KEY function

Cause

An attempt was made to call either the CURRENT_SHARD_KEY or CURRENT_PSET_KEY function in a non-sharded environment.


Action

Use the CURRENT_SHARD_KEY or CURRENT_PSET_KEY function only on shard databases.