posted 16 years ago
set serverout is not a pl/sql command.
It's an SQL*Plus instruction.
This means that you change SQL*/Plus's behaviour. Nothing happens on the database server.
Your database does not understand this command. It can't be used in pl/sql.
Have a look at the dbms_output and fnd_file packages. They allow you to output text/data from within a pl/sql package.
Regards, Jan
OCUP UML fundamental and ITIL foundation