ORA-00932 CREATING UNIQUE INDEX WITH DESCENDING ORDER
(Doc ID 2729486.1)
Last updated on NOVEMBER 23, 2020
Applies to:Oracle Database - Enterprise Edition - Version 22.214.171.124.0 to 126.96.36.199.0 [Release 19 to 20.0]
Information in this document applies to any platform.
creating a unique index with descending order raises ORA-932
create unique index employee on employee_in_shift (current_call_up_id desc) tablespace users online;
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-00932: inconsistent datatypes: expected NUMBER got BINARY
When ascending index is created there is no problem
create unique index employee on employee_in_shift (current_call_up_id ) tablespace users online;
It is not a partitioned table
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document