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

NNL-00264: Request forwarding is now disabled

1 Answers  


ORA-02252: check constraint condition not properly ended

1 Answers  


ORA-09888: osnTXtt: txipc channel creation failed

1 Answers  


ORA-34021: (MSCGADD04) You must specify a partition when maintaining PARTITION TEMPLATE workspace object.

1 Answers  


SQL*Loader-00806: unknown record format specified for data file

1 Answers  


RMAN-08091: channel string: specifying datafile(s) for proxy backup

1 Answers  


LSX-00025: unknown group "~S"

1 Answers  


ORA-30677: session is already connected to a debugger

1 Answers  


ORA-13518: Invalid database id (string)

1 Answers  


ORA-14169: invalid ALTER TABLE MODIFY SUBPARTITION option

1 Answers  


NCR-04023: NCRR: Invalid object descriptor

1 Answers  


NZE-28797: invalid key data type

1 Answers  


Categories