Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> spooling TRIGGER_BODY
When I try to spool a trigger body it wraps the characters past 80
characters to the next line. How can I prevent this from happening?
The set line command doesn't seem to help.
See how the create_date statement is chopped in the example below :
sqlplus> set line 200 sqlplus> set long 10000 sqlplus> spool file.trg.sql sqlplus> select trigger_body from user_triggers where trigger_name ='SAMPLE'; TRIGGER_BODY
(:new.sku, :new.location, :new.tran_code, :new.cost_pool,
sysdate);
end if;
end;
Received on Tue Jan 18 2005 - 17:11:46 CST