-2

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?

Alex Poole
  • 183,384
  • 11
  • 179
  • 318
  • Depends if you want to keep the first one, or want to get rid of them all. [And have you looked at the documentation](http://docs.oracle.com/cd/E11882_01/server.112/e16604/ch_four.htm#sthref267)? – Alex Poole Aug 02 '16 at 11:22

1 Answers1

0

you can solve this with

SQL> SET HEADING OFF
Ricardo Arnold
  • 903
  • 1
  • 12
  • 21