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-00372: In a procedure, RETURN statement cannot contain
an expression



PLS-00372: In a procedure, RETURN statement cannot contain an expression..

Answer / guest

Cause: In a procedure, a RETURN statement contains an
expression, which is not allowed. In functions, a RETURN
statement must contain an expression because its value is
assigned to the function identifier. However, in procedures,
a RETURN statement simply lets you exit before the normal
end of the procedure is reached.

Action: Remove the expression from the RETURN statement, or
redefine the procedure as a function.

Please add more information about this Error

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Oracle Errors Interview Questions

ORA-02183: valid options: ISOLATION_LEVEL { SERIALIZABLE | READ COMMITTED }

1 Answers  


PLS-00620: type mismatch found at 'string' among operands in a COALESCE expression

1 Answers  


ORA-38311: cannot purge objects owned by other users

1 Answers  


NNL-00002: request argument "string" is not allowed with this operation

1 Answers  


ORA-21610: size [string] is invalid

1 Answers  


ORA-27488: unable to set string because string was/were already set

1 Answers  


ORA-02472: PL/SQL functions not allowed in hash expressions

1 Answers  


ORA-19026: EXTRACTVALUE can only retrieve value of leaf node

1 Answers  


ORA-02737: osnpcl: cannot tell orapop to exit

1 Answers  


ORA-02168: invalid value for FREELISTS

1 Answers  


LSX-00013: element "~S" not from Schema of Schemas

1 Answers  


ORA-32114: Cannot perform operation on a null LOB

1 Answers  


Categories