这样试试: 在sqlplus 下:set echo off; set heading off; set feedback off; spool c:\proc.txt--1、用sys用户等陆的话: select text from dba_source where owner='YOUR_USER'; --2、用一般用户(要导出其下存储过程的用户): select text from user_source;spool off;你看这行不行?
关于楼上的解答应该改动一点点select text from dba_source where owner='YOUR_USER'; => select text from dba_source where owner='YOUR_USER' and type ='PROCEDURE';
database->export->source code
是啊,toad可以,谢谢楼上的
在sqlplus 下:set echo off;
set heading off;
set feedback off;
spool c:\proc.txt--1、用sys用户等陆的话:
select text from dba_source where owner='YOUR_USER';
--2、用一般用户(要导出其下存储过程的用户):
select text from user_source;spool off;你看这行不行?
=>
select text from dba_source where owner='YOUR_USER' and type ='PROCEDURE';
然后用文本编辑器,编辑一下full.dmp就好了