Adsense Ad

Thursday, 25 May 2017

Oracle: ORA-00919 Error Message

ORA-00919 Error Message

Learn the cause and how to resolve the ORA-00919 error message in Oracle.

Description

When you encounter an ORA-00919 error, the following error message will appear:
  • ORA-00919: invalid function

Cause

You tried to call a function, but the name you used was not a valid Oracle function.

Resolution

The option(s) to resolve this Oracle error are:

Option #1

Correct the spelling of the Oracle function that you wish to call.

Option #2

Try using the dual table if you wish to call a function without querying a table.
For example, if you had created a custom function called TestFunction and you wanted to call this function, you could try the following:
SELECT TestFunction()
FROM dual;

No comments: