ORA-00936: Missing Expression Error on 'Where' Clause Running SCD on User Defined Dimension (Doc ID 1363285.1)

Last updated on FEBRUARY 18, 2016

Applies to:

Oracle Financial Services Enterprise Financial Performance Analytics - Version 5.5 and later
Oracle Financial Services Asset Liability Management Analytics - Version 5.2.2 and later
Information in this document applies to any platform.
Oracle Financial Services Analytical Applications (OFSAA)

Symptoms

When creating metadata for Oracle Financial Services Asset Liability Management Analytics (ALMBI) or Profitability Analytics (PFTBI), you get an ORA-00936 error when trying to run the 'scd' (Slowly Changing Dimension) program for a user defined or custom dimension because the 'where' clause is missing in the 'create table' statement.  The following error is in the SCD_xxxxxxxx.log in /<ftpshare>/<Infodom>/logs:

Statement for temporary table creation: CREATE TABLE IOT_TP_COA ( d_created_date, d_last_modified_date, n_tp_coa_id , n_tp_coa_id_level01, n_tp_coa_id_level02, n_tp_coa_id_level03, n_tp_coa_id_level04, n_tp_coa_id_level05, n_tp_coa_id_level06, n_tp_coa_id_level07, n_tp_coa_id_level08, n_tp_coa_id_level09, n_tp_coa_id_level10, n_tp_coa_id_level11, n_tp_coa_id_level12, n_tp_coa_id_level13, n_tp_coa_id_level14, n_tp_coa_id_level15, n_tp_coa_id_level16, n_tp_coa_id_level17, n_tp_coa_id_level18, n_tp_coa_id_level19, n_tp_coa_id_level20, n_tp_coa_skey, n_seq_01, n_seq_02, n_seq_03, n_seq_04, n_seq_05, n_seq_06, n_seq_07, n_seq_08, n_seq_09, n_seq_10, n_seq_11, n_seq_12, n_seq_13, n_seq_14, n_seq_15, n_seq_16, n_seq_17, n_seq_18, n_seq_19, n_seq_20, v_created_by, v_last_modified_by, v_tp_coa_name, v_tp_coa_name_level01, v_tp_coa_name_level02, v_tp_coa_name_level03, v_tp_coa_name_level04, v_tp_coa_name_level05, v_tp_coa_name_level06, v_tp_coa_name_level07, v_tp_coa_name_level08, v_tp_coa_name_level09, v_tp_coa_name_level10, v_tp_coa_name_level11, v_tp_coa_name_level12, v_tp_coa_name_level13, v_tp_coa_name_level14, v_tp_coa_name_level15, v_tp_coa_name_level16, v_tp_coa_name_level17, v_tp_coa_name_level18, v_tp_coa_name_level19, v_tp_coa_name_level20
, CONSTRAINT PIT_LOBS PRIMARY KEY( n_tp_coa_id )) ORGANIZATION INDEX OVERFLOW AS SELECT d_created_date, d_last_modified_date, n_tp_coa_id , n_tp_coa_id_level01, n_tp_coa_id_level02, n_tp_coa_id_level03, n_tp_coa_id_level04, n_tp_coa_id_level05, n_tp_coa_id_level06, n_tp_coa_id_level07, n_tp_coa_id_level08, n_tp_coa_id_level09, n_tp_coa_id_level10, n_tp_coa_id_level11, n_tp_coa_id_level12, n_tp_coa_id_level13, n_tp_coa_id_level14, n_tp_coa_id_level15, n_tp_coa_id_level16, n_tp_coa_id_level17, n_tp_coa_id_level18, n_tp_coa_id_level19, n_tp_coa_id_level20, n_tp_coa_skey, n_seq_01, n_seq_02, n_seq_03, n_seq_04, n_seq_05, n_seq_06, n_seq_07, n_seq_08, n_seq_09, n_seq_10, n_seq_11, n_seq_12, n_seq_13, n_seq_14, n_seq_15, n_seq_16, n_seq_17, n_seq_18, n_seq_19, n_seq_20, v_created_by, v_last_modified_by, v_tp_coa_name, v_tp_coa_name_level01, v_tp_coa_name_level02, v_tp_coa_name_level03, v_tp_coa_name_level04, v_tp_coa_name_level05, v_tp_coa_name_level06, v_tp_coa_name_level07, v_tp_coa_name_level08, v_tp_coa_name_level09, v_tp_coa_name_level10, v_tp_coa_name_level11, v_tp_coa_name_level12, v_tp_coa_name_level13, v_tp_coa_name_level14, v_tp_coa_name_level15, v_tp_coa_name_level16, v_tp_coa_name_level17, v_tp_coa_name_level18, v_tp_coa_name_level19, v_tp_coa_name_level20
FROM DIM_TP_COA Where
Error Msg :-> ORA-00936: missing expression

The SQL statement is incomplete.  The 'where' clause is blank.

The error prevents you from populating the DIM_<dimension> table with data from the user defined dimension / leaf for use in ALMBI or PFTBI reporting.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms