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

TNS-12696: Double Encryption Turned On, login disallowed

1 Answers  


ORA-03128: connection is in blocking mode

1 Answers  


ORA-01181: file string created before last known RESETLOGS, cannot recreate

1 Answers  


NNL-00830: Delete requests received: number

1 Answers  


TNS-01442: No filtering rules currently in effect.

1 Answers  


DRG-51802: failed to read from file: %(1)

1 Answers  


ORA-06569: Collection bound by bind_array contains no elements

1 Answers  


KUP-04104: zoned decimal field has bad values for string

1 Answers  


DRG-11410: could not insert into string result table

1 Answers  


RMAN-08059: media recovery failed

1 Answers  


ORA-16796: One or more properties could not be imported from the database.

2 Answers  


RMAN-06105: duplicate qualifier found in LIST command: string

1 Answers  


Categories