Error Message :
Oracle: ORA-00904: invalid identifier
SQL Server: Native error: '102'
The usage statistics tool, ucybdblc.exe, runs several SQL scripts that include db functions in order to return license information. In some cases the tool stops with an error and shows the following error messages:
Oracle:20160728/105021.042 - U0029108 UCUDB: SQL_ERROR Database-Handles DB-HENV: 710a330 DB-HDBC: 7115d90
20160728/105021.042 - U0003591 UCUDB - DB-Error-Info: Opc: 'OCIStmtExecute' Return code: 'ERROR'
20160728/105021.042 - U0003592 UCUDB - Status: '' NativeError: '904' Msg: 'ORA-00904: : invalid identifier'
MS SQL Server:20160920/120411.672 - U0029108 UCUDB: SQL_ERROR Database handles DB-HENV: 1881a0 DB-HDBC: 188270
20160920/120411.672 - U0003591 UCUDB - DB error info: OPC: 'SQLExecDirect' Return code: 'ERROR'
20160920/120411.672 - U0003592 UCUDB - Status: '42000' Native error: '102' Msg: 'Incorrect syntax near 'date'.'
Solution:This is a configuration issue on the database side. In some of the SQL-scripts used by the tool (see folder bin/scripts) db-functions like dbms_lob.substr are used. If this error appears, please check the SQL-file where the tool stopped and see what Database-function was used. Contact your DBA to grant the necessary privileges to the user for this function.