- For individual users
- Instant access to solutions
- Ask your tech questions
- Start your 30-day Free Trial
Main Topics
Browse All TopicsHi,
What i want is (if possible):
1. After the pl/sql is done running showing the ' output' sheet of pl/sql developer.
2. Showing an equivalent of the vb msgbox during excution of pl/sql statements
I hope somebody can help me with this, as searching about this didn't provide me with answer.., esp. about first question.
I wrote my code in the SQL-script window. (since that is the only window i kno so far that shows normal sql-statements as a resultset in the resultgrid that comes up below the qry)... if any1 knows how to accomplish this in pl/sql..-> gettin a resultsetgrid to show n fill under pl/sql i would be most gratefull.
*points r so high cuz i hope to get answer soon.., and becuz of the many subquestions.*
TIA,
deduijk
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: RCorfmanPosted on 2006-04-14 at 07:40:32ID: 16453757
The closest you can come is to use the dbms_output package and turn output on.... This shows all the 'output' information after the pl/sql package is completed. The drawback is that you have to use pl/sql, not straight sql though, and the results don't display....
ar(i));
y hh24:mi:ss';
You can also use PROMPT in the straight sql window to display output, then have the user need to press a key.
It isn't clear which you are after. Here is a sample sqlplus run showing dbms_output...
Notice the Set Serveroutput on line, then, after the pl/sql block is completed, the output lines....
SQL> set serveroutput on
SQL> begin
2 for i in 1..3 loop
3 dbms_output.put_line(to_ch
4 end loop;
5 end;
6 /
1
2
3
PL/SQL procedure successfully completed.
SQL>
OK, and you can also do a prompt in a script... I saved this script as a file on my C:\ directory as test.sql
alter session set nls_date_format='mm/dd/yyy
select sysdate from dual;
prompt done with sql statement
Then I run it in the sql window as follows:
SQL> start c:\test.sql
Session altered.
SYSDATE
-------------------
04/14/2006 07:38:52
done with sql statement
SQL>
Hopefully this is what you are asking....