COL TEXT FOR A200
SET PAGESIZE 200
SQL> SPOOL C:/1126.TXT
SQL> SELECT TEXT FROM USER_SOURCE WHERE NAME='存储过程名';
SQL> SPOOL OFF
COL TEXT FOR A200
SET PAGESIZE 200
SQL> SPOOL C:/1126.TXT
SQL> SELECT TEXT FROM USER_SOURCE WHERE NAME='存储过程名';
SQL> SPOOL OFF