Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


PLS-00251: RETURN, for actual function return, must be last
in the parameters clause



PLS-00251: RETURN, for actual function return, must be last in the parameters clause..

Answer / guest

Cause: RETURN specification for the actual function return,
used within the parameters clause must hold the very last
position. Example : The following will give this error since
the RETURN specification for the actual function return in
the parameters clause is not the last. FUNCTION
myexternalfunc (var1 BINARY_INTEGER, var2 BINARY_INTEGER)
RETURN BINARY_INTEGER IS EXTERNAL NAME "myexternalfunc"
LIBRARY somelib PARAMETERS (var1 LONG, var2 SHORT, RETURN
INT, RETURN INDICATOR SHORT); The correct syntax is the
following. Note that RETURN for actual function return is
the last specification in the parameters clause. FUNCTION
myexternalfunc (var1 BINARY_INTEGER, var2 BINARY_INTEGER)
RETURN BINARY_INTEGER IS EXTERNAL NAME "myexternalfunc"
LIBRARY somelib PARAMETERS (var1 LONG, var2 SHORT, RETURN
INDICATOR SHORT, RETURN INT);

Action: Correct the syntax of the RETURN specification in
the parameters clause

Please add more information about this Error

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Oracle Errors Interview Questions

O2F-00321: Error opening the OUTTYPE file for writing

1 Answers  


ORA-36676: (XSDPART14) Missing dimension list for string.

1 Answers  


ORA-06770: TLI Driver: error sending version

1 Answers  


ORA-30177: invalid flag used in a format specification

1 Answers  


PROC-00020: ORACLE_HOME environment not set

1 Answers  


CLSS-03000: reconfiguration successful, incarnation string with string nodes

1 Answers  


ORA-15111: conflicting or duplicate STRIPE options

1 Answers  


ORA-32616: missing DIMENSION BY keyword in MODEL clause

1 Answers  


RMAN-10014: PL/SQL error number on line number column number: string

1 Answers  


ORA-13274: operator invoked with non-compatible SRIDs

1 Answers  


ORA-24086: cannot create a 8.0 compatible string queue

1 Answers  


ORA-40223: data mining model import failed, job name=string, error=string

2 Answers  


Categories