Árvore de páginas

Ocorrência

A utilização da feature de compressão causava a ocorrência do erro ORA-00922 durante a criação de tabelas temporárias.

[20210405 13:50:37.054] [OP_CREATEFILE [tDBServer::ROP_CREATEFILE]]   T [0.000 s.]    OP [Error : 922 - ORA-00922: missing or invalid option
 ( From tDBServer::ROP_CREATEFILE )
Thread ID [12356]       User [totvstec] IO [21] Tables [0]      MaxTables [0]   Comment []      SP [ ]  Traced [No]     SQLReplay [Yes] InTran [No]     DBEnv [ORACLE/PROTHEUS] DBThread [(SID 399,48965,1)]    Started [05/04/2021 13:50:35]   IP [10.173.5.37:26012]  IDLE [ ]        InTransact [ ]  Memory [0]      Running [ROP_CREATEFILE for 0 s.]       RCV [1366]      SND [1885]      TCBuild [20200606-20201110]     TCVersion [20.1.1.2]    ARCH [64]       OS [WINDOWS]    BUILD [RELEASE]
CREATE GLOBAL TEMPORARY TABLE TTPGW708_399489651(CPO_CHR CHAR(50) DEFAULT '                                                  ' NOT NULL, CPO_NUM NUMBER DEFAULT 0.0 NOT NULL, CPO_DTA CHAR(8) DEFAULT '        ' NOT NULL, CPO_LOG CHAR(1) DEFAULT 'F' NOT NULL, D_E_L_E_T_ CHAR(1) DEFAULT ' ' NOT NULL, R_E_C_N_O_ NUMBER DEFAULT 0.0 NOT NULL, R_E_C_D_E_L_ NUMBER DEFAULT 0.0 NOT NULL, CONSTRAINT TTPGW708_399489651_PK PRIMARY KEY (R_E_C_N_O_) ) COMPRESS  ON COMMIT PRESERVE ROWS]
C [20210405 13:50:37.083] [OP_GETERROR [tDBServer]]     T [0.000 s.]    OP [-- Last Error Code 922 Message [Error : 922 - ORA-00922: missing or invalid option ( From tDBServer::ROP_CREATEFILE )
Correção

Realizamos a proteção da criação de tabela temporária para desconsiderar a configuração que habilita a compressão da tabelas.

Informações adicionais
  • Referente à ocorrência: TPGW-708