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-09909: Malloc of scratch buffer failed.

1 Answers  


ORA-13276: internal error [string] in coordinate transformation

1 Answers  


SQL*Loader-00255: Log file for error recovery not used by SQL*Loader

1 Answers  


ORA-24095: invalid transformation, source type does not match that of the queue

1 Answers  


ORA-16037: user requested cancel of managed recovery operation

1 Answers  


ORA-36902: (XSAGDNGL43) In AGGMAP workspace object, the MODEL workspace object is not a model over a base dimension of the AGGMAP.

1 Answers  


NNL-00893: Similar requests received: number

1 Answers  


ORA-19688: control file autobackup format(string) for string does not have %F

1 Answers  


ORA-12571: TNS:packet writer failure

1 Answers  


ORA-09835: addCallback: callback port is already in a set.

1 Answers  


ORA-24315: illegal attribute type

1 Answers  


ORA-39019: invalid operation type string

1 Answers  


Categories