I have a problem with trying to export DDL from a table. I am using sqlplus to run this query:
SQL> SPOOL PACKAGE.PKS
SQL> SELECT TEXT FROM some_table WHERE NAME = 'package_name';
And in result I am getting package.pks file with everything from TEXT column. Problem is that after every couple of rows it shows
TEXT
----------------------------------------------------------
How can I get rid of this?