Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Riddle me this Oracle riddle...
The whole block gets transmitted to Oracle shadow process where it gets
executed there.
Sqlnet and the other layers take care of mapping host variables to Oracle
shadow process and the PGA.
There is no difference between your pro*C block and executing the same block from sqlplus on your PC.
The warning is only for the IN OUT parameters not for IN parameters.
You can not assign values to an IN parameter and this why referencing it
makes sense.
While it's not always for Oracle to assure that in case it's specified IN
OUT.
Regards,
Waleed
-----Original Message-----
Sent: Wednesday, March 06, 2002 1:13 PM
To: Multiple recipients of list ORACLE-L
What about the case where a client Pro*C
program (for example) has an embedded
anonymous pl/sql block which does:
begin
:local_target_variable := procedure xyz(:local_source_variable); end;
You might also consider the warning that goes with the NOCOPY option - to the effect that it is not always possible for NOCOPY to be honoured because it is not always possible for a pointer to be used.
Jonathan Lewis
http://www.jlcomp.demon.co.uk
Next Seminar - UK, April 3rd - 5th
http://www.jlcomp.demon.co.uk/seminar.html
Host to The Co-Operative Oracle Users' FAQ http://www.jlcomp.demon.co.uk/faq/ind_faq.html
Author of:
Practical Oracle 8i: Building Efficient Databases
-----Original Message-----
To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
Date: 06 March 2002 17:58
|This is not true. the client does not communicate with the procedure.
Oracle
|shadow process does.
|It's always a pointer.
|
|regards,
|
|Waleed
|
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Jonathan Lewis INET: jonathan_at_jlcomp.demon.co.uk Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Khedr, Waleed INET: Waleed.Khedr_at_FMR.COM Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Wed Mar 06 2002 - 12:38:38 CST