totn Oracle Error Messages

Oracle / PLSQL: 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.

View a complete listing of Oracle functions.

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;