Database Error Messages

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

OCI-03941

A shard key or partition set key column cannot be a sequence.

Cause

An attempt was made to create a sharded table having a shard key or a partition set key column based on a sequence, which is not allowed.


Action

Do not use sequences for shard key or partition set key columns.