Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: two schemas and running a diff on stored procedures

Re: two schemas and running a diff on stored procedures

From: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: Fri, 05 Aug 2005 16:11:53 +0200
Message-ID: <1qs6f1db98bts5c5oi8m2109iuac19gke2@4ax.com>


On 5 Aug 2005 05:38:28 -0700, "JR" <jriker1_at_yahoo.com> wrote:

>Let's say I have two schemas in a database. Both with the same stored
>procedures however one had some updates made to it. Is there an easy
>way to see what the differences are between the two schemas as far as
>the stored procedures without taking them one at a time and doing a
>diff in a text editing tool? THanks.
>
>JR

One could of course try to run a minus

select line, text
from dba_source
where owner=...
and name=...
minus
select line, text
from dba_source
where owner = ...
and name = ...

But better use proper source code control to prevent hunting the wumpus.

--
Sybrand Bakker, Senior Oracle DBA
Received on Fri Aug 05 2005 - 09:11:53 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US