Hi,

Before running this script,just give "set serveroutput on" at SQL prompt.