When using the Preview button in an Automic SQLI (VARA.SQLI) object, the execution fails with the following error:
Wrong Wrong SQL Statement in 'SQLI.FORKB.438545'. DB error: 'U00003754 Database-error in SQLI-variable: 'U00003590 UCUDB - DB error: 'OCIStmtExecute', 'ERROR', '', 'ORA-01858: a non-numeric character was found where a numeric was expected
Automic Workload Automation v24.x
This error occurs when a string is passed into Oracle and it does not match the expected format, or when a required bind parameter is missing/null during the preview.
Scenario: The SQLI query contains a bind parameter (e.g., &date#) that is expected to be populated by a script at runtime. During a manual Preview, the variable has no value.
Solution:
Scenario: The query is passing a string to oracle, but the input string is not in an expected format.
Solution: