Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

ora-01792 when create an index

Marco Antonio RomitoSep 13 2024 — edited Sep 13 2024

Hi,

in a 19.0.0.0.0 database we get an ORA-01792 error when try to create an index.

The table is declared as:

desc TMP_PFPSALDO

CODICEBANCA NOT NULL VARCHAR2(50)
C_FILIALE NOT NULL VARCHAR2(100)
C_RAPPORTO NOT NULL VARCHAR2(100)
C_SOTTORAPPORTO VARCHAR2(100)
C_SERVIZIO NOT NULL VARCHAR2(100)
CODICESTRUMENTO NOT NULL VARCHAR2(100)
DATASALDO NOT NULL DATE
I_VAL_NOM NUMBER(31,11)
I_PREZZO_AT NUMBER(31,11)
D_PREZZO DATE
I_CAMBIO_AT NUMBER(31,11)
D_CAMBIO DATE
I_CTV_E NOT NULL NUMBER(31,11)
I_CTV_V NUMBER(31,11)
DIVISA NOT NULL VARCHAR2(100)
C_CONTRATTO VARCHAR2(100)
CTV_VERSATO NUMBER(31,11)
CTV_PRELEVATO NUMBER(31,11)
CTV_VERSATO_NETTO NUMBER(31,11)
I_CTV_EUR_DISPONIBILE NUMBER(31,11)
DATA_MEDIA_CARICO DATE
PMC NUMBER(31,11)
CMC NUMBER(31,11)
PERC_PLUS_MINUS NUMBER(31,11)
CTV_PLUS_MINUS NUMBER(31,11)
CAPITALE_ASSICURATO_CASO_MORTE NUMBER(31,11)
CAPITALE_ASSICURATO NUMBER(31,11)
DATA_INIZIO_CONTRIBUZIONE DATE
PREMIO_PREVIDENZIALE NUMBER(31,11)
C_PIANO VARCHAR2(100)
C_TIPO_CERTIFICATO VARCHAR2(100)
NUMERO_CERTIFICATO VARCHAR2(100)
IS_PAC VARCHAR2(100)
TIPO_DIVIDENDO VARCHAR2(100)
FIDO_ACCORDATO NUMBER(31,11)
FIDO_DISPONIBILE NUMBER(31,11)
TS_AGGIORNAMENTO NOT NULL TIMESTAMP(6)
TMSTP TIMESTAMP(6)
SALDO_UNALLOCATED NUMBER(31,9)
CODICESTRUMENTO_IAC VARCHAR2(250)

The create statement is:

CREATE INDEX IX_TMP_PFPSALDO ON TMP_PFPSALDO(CODICEBANCA, C_FILIALE, C_RAPPORTO, COALESCE(C_SOTTORAPPORTO,'ND'), C_SERVIZIO, CODICESTRUMENTO_IAC) LOGGING NOPARALLEL;

The table has no unused columns.

TIA

Marco

This post has been answered by Solomon Yakobson on Sep 13 2024
Jump to Answer
Comments
Post Details
Added on Sep 13 2024
21 comments
186 views