Solved

PL/SQL output on TOAD

Posted on 2006-11-17
3
17,082 Views
Last Modified: 2013-12-12
With SQL*PLus

1. set serveroutput on size 1000000
2. exec <some procedure>;

The output is viewed on the screen

With TOAD

How to get similar results,
0
Comment
Question by:josephsonnd
  • 2
3 Comments
 
LVL 28

Accepted Solution

by:
Naveen Kumar earned 125 total points
ID: 17966772
open a new sql editor and then run your pl/sql code.

The bottom portion of the toad where you see the results when you a execute a normal sql query has a tab called 'DBMS Output'. Just click on this tab after executing your pl/sql code.

Thanks
0
 

Author Comment

by:josephsonnd
ID: 17967301
nav_kum_v
exec <procedure_name>('123');

click F5 or F9

I get on the dbms output window the following (not getting the output data):

begin
 <procedure_name>('123');
end;
PL/SQL procedure successfully completed
 
If I type on the upper pane

set serveroutput on size 1000000
<procedure_name>('123');

it gives error

ORA-00922: missing or invalid option


0
 

Author Comment

by:josephsonnd
ID: 17967902
I found what was wrong

There is a toggle on the DBMS output window to show output on/off

Thanks for your help
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VB.Net - Oracle BulkCopy from CSV Date Format 7 61
sort a spool into file output in oracle 1 30
Oracle Listener Not Starting 11 44
create a nested synonym 4 25
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question