exp关键字中,没有看到procedure的参数啊
倒是有触发器、索引等
谁知道怎么批量导出导入存储过程啊?

解决方案 »

  1.   

    用toad可以!
    database->export->source code
      

  2.   

    我是想知道有没有dba sql命令可以做
    是啊,toad可以,谢谢楼上的
      

  3.   

    这样试试:
    在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;你看这行不行?
      

  4.   

    关于楼上的解答应该改动一点点select text from dba_source where owner='YOUR_USER';
    =>
    select text from dba_source where owner='YOUR_USER' and type ='PROCEDURE';
      

  5.   

    ORARichard(没钱的日子......) 是把存储过程导出,我是存储过程、函数...一勺荟!:)
      

  6.   

    请问:dba_source和user_source在哪个地方放着?
      

  7.   

    exp system/manager  full=Y rows=N file=full.dmp owner=(用户名) 
    然后用文本编辑器,编辑一下full.dmp就好了