Oracle批量导出存储过程的语句

2014-11-24 17:53:56 · 作者: · 浏览: 0

SET echo off;
SET heading off;
SET feedback off;
spool c:\proc.txt ;


--1、用sys用户等陆的话:
--select text from dba_source where owner= 'lingfeng' and type = 'PROCEDURE';
--2、用一般用户(要导出其下存储过程的用户):
select text from user_source;


spool off;