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-00231: function 'string' may not be used in SQL



PLS-00231: function 'string' may not be used in SQL..

Answer / guest

Cause: A proscribed function was used in a SQL statement.
Certain functions such as SQLCODE and SQLERRM can be used
only in procedural statements.

Action: Remove the function call from the SQL statement. Or,
replace the function call with a local variable. For
example, the following statement is illegal: INSERT INTO
errors VALUES (SQLCODE, SQLERRM); However, you can assign
the values of SQLCODE and SQLERRM to local variables, then
use the variables in the SQL statement, as follows: err_num
:= SQLCODE; err_msg := SQLERRM; INSERT INTO errors VALUES
(err_num, err_msg);

Please add more information about this Error

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Oracle Errors Interview Questions

ORA-12838: cannot read/modify an object after modifying it in parallel

1 Answers  


ORA-25306: Queue table string has buffered queues. Cannot alter

1 Answers  


ORA-02875: smpini: Unable to get shared memory for PGA

1 Answers  


PLS-00148: Only 1 pragma of this type is allowed per subprogram

1 Answers  


ORA-25100: TABLESPACE option can only be used with ALTER INDEX REBUILD

1 Answers  


ORA-00200: controlfile could not be created

1 Answers  


ORA-37044: (XSACQUIRE_OLDGEN) Cannot acquire object workspace object without resync.

1 Answers  


ORA-00275: media recovery has already been started

1 Answers  


ORA-01347: Supplemental log data no longer found

1 Answers  


ORA-19769: missing FILE keyword

1 Answers  


ORA-25158: Cannot specify RELY for foreign key if the associated primary key is NORELY

1 Answers  


ORA-28291: No Kerberos Principal Value found.

1 Answers  


Categories