标题: 哪个数据字典存放了存储过程和触发器以及函数的脚本? [打印本页] 作者: OracleOCP 时间: 2004-07-09 12:03 标题: 哪个数据字典存放了存储过程和触发器以及函数的脚本? 如题,我想获取存储过程和触发器以及函数的脚本,请教各位大虾!作者: muchen112 时间: 2004-07-09 13:07 标题: 哪个数据字典存放了存储过程和触发器以及函数的脚本? select text from user_source where type ='PROCEDURE' AND type='TRIGGER';作者: OracleOCP 时间: 2004-07-09 13:33 标题: 哪个数据字典存放了存储过程和触发器以及函数的脚本? 这个我知道是分散的需要拼凑,有没有完整的脚本作者: muchen112 时间: 2004-07-09 14:29 标题: 哪个数据字典存放了存储过程和触发器以及函数的脚本? SQL>; select text from user_source where name = 'RAISE_SAL';
TEXT
--------------------------------------------------------------------------------
procedure raise_sal
(p_id IN test1.id%type,
p_name OUT test1.name%type,
p_salary OUT test1.salary%type)
is
begin
select name,salary into p_name,p_salary from test1 where id = p_id;
end raise_sal;