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-06780: TLI Driver: recv error code failed

1 Answers  


TNS-01189: The listener could not authenticate the user

1 Answers  


NNL-00217: Controller is sleeping for number seconds

1 Answers  


ORA-03231: the INITIAL extent may not be deallocated

1 Answers  


ORA-07587: spdcr: $CREPRC failure

1 Answers  


ORA-31515: CDC change source string already exists

1 Answers  


RMAN-20206: log sequence not found in the repository

1 Answers  


ORA-32140: cannot peform this operation on stream

1 Answers  


RMAN-06472: channel id string is automatically allocated

1 Answers  


NNO-00306: server shutdown countdown aborted

1 Answers  


ORA-32613: not a MODEL cell

1 Answers  


ORA-23379: connection qualifier "string" is too long

1 Answers  


Categories