RE: Simple PL/SQL output question
Date: Thu, 10 Mar 2011 12:51:55 -0000
Message-ID: <919FC80F27E0C6428106496EDF92A752119753E8_at_EXCCLUS05.PRODDS.NTNL>
Dennis,
Actually, I've spotted a little gotcha - if the DBMS_OUTPUT.PUT line(s) are not followed by a DBMS_OUTPUT.PUT_LINE or a DBMS_OUTPUT.NEW_LINE then the last lot of output from DBMS_OUTPUT..PUT doesn't appear, ever!
BEGIN
DBMS_OUTPUT.PUT('=========================================='); DBMS_OUTPUT.PUT('------------------------------------------'); DBMS_OUTPUT.PUT('=========================================='); dbms_output.put_line('Norm was here');END;
/
If you comment out the last line above, then nothing ever appears, no matter how often you run it.
I don't suppose your full pl/sql code is missing a DBMS_OUTPUT.NEW_LINE or a DBMS_OUTPUT.PUT_LINE at the end is it?
Just a thought.
Cheers,
Norm.
Norman Dunbar
Contract Senior Oracle DBA
Capgemini Database Team (EA)
Internal : 7 28 2051
External : 0113 231 2051
Information in this message may be confidential and may be legally privileged. If you have received this message by mistake, please notify the sender immediately, delete it and do not copy it to anyone else.
We have checked this email and its attachments for viruses. But you should still check any attachment before opening it. We may have to make this message and any reply to it public if asked to under the Freedom of Information Act, Data Protection Act or for litigation. Email messages and attachments sent to or from any Environment Agency address may also be accessed by someone other than the sender or recipient, for business purposes.
If we have sent you information and you wish to use it please read our terms and conditions which you can get by calling us on 08708 506 506. Find out more about the Environment Agency at www.environment-agency.gov.uk
-- http://www.freelists.org/webpage/oracle-lReceived on Thu Mar 10 2011 - 06:51:55 CST