Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: copy package or procedure from one schema to another
Using my SQL PlusPlus (freeware), you can extract the procedure in SQL file
and execute this in other user/schema. e.g.
SQL> exec s.getpro('GIVE_RAISE','SCOTT')
| CREATE OR REPLACE
| procedure give_raise (
| p_deptno in number,
| p_raise_percent in number )
| as
| begin
| update emp set sal = sal + (sal * p_raise_percent * .01)
| where deptno = p_deptno;
|
regards,
M. Armaghan Saqib
+---------------------------------------------------------------| 2. SQL Link for XL => Integrate Oracle with XL
| 1. SQL PlusPlus => Add power to SQL Plus command line
+---------------------------------------------------------------<liux99_at_my-deja.com> wrote in message news:869u5u$49c$1_at_nnrp1.deja.com...
> Hi there: > Does anybody know if there is a tool in Oracle that allows me to copy a > procedure or package from one schema to another? Help is appreciated. > > > Sent via Deja.com http://www.deja.com/ > Before you buy.
![]() |
![]() |