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-12708: error while loading create database NLS parameter string

1 Answers  


ORA-32019: The parameter SPFILE cannot be updated in the server parameter file.

1 Answers  


EXP-00015: error on row number of table string, column string, datatype number

1 Answers  


PCC-02343: body of cursor must be a query expression

1 Answers  


DRG-50702: error in drtlsleep()

1 Answers  


ORA-32502: Cannot execute command. Flash Freeze is not in effect

1 Answers  


PLS-00733: RPCs to variable argument functions are not allowed

1 Answers  


ORA-29870: specified options are only valid for altering a domain index

1 Answers  


DRG-50921: EQUIV operand not a word or another EQUIV expression

1 Answers  


QSM-02142: COUNT(*) is not present in the select list

1 Answers  


ORA-31605: the following was returned from string in routine string: LPX-number: string

1 Answers  


ORA-28035: Cannot Get Session Key for Authentication

1 Answers  


Categories