Results 1 to 3 of 3

Thread: Oracle Error

  1. #1
    Join Date
    Jan 2004
    Posts
    1

    Exclamation Unanswered: Oracle Error

    Could anyone pls tell me as to why I get this error when running a script in Oracle:

    "ORA-06503: PL/SQL: Function returned without value ORA-06512: at line 14 "

    The script contains a function that returns a NULL value for some validation. Is it that Oracle functions can't return NULL values ...if yes then how do I return a NULL value from a function?

  2. #2
    Join Date
    Nov 2003
    Location
    Bangalore, INDIA
    Posts
    333

    Thumbs up

    Hi,

    This error occurs because a call to a PL/SQL function completed, but no RETURN statement was executed.
    SATHISH .

  3. #3
    Join Date
    Nov 2003
    Location
    Bangalore, INDIA
    Posts
    333

    Thumbs up

    Hi,

    Rewrite the PL/SQL function, making sure that it always returns a value of a proper type.
    SATHISH .

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •