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

Home -> Community -> Usenet -> c.d.o.misc -> Re: pl/sql code maintenance

Re: pl/sql code maintenance

From: Karsten Farrell <kfarrell_at_belgariad.com>
Date: Fri, 20 Dec 2002 17:20:10 GMT
Message-ID: <ejIM9.723$KD2.55306440@newssvr15.news.prodigy.com>


tony wrote:
> On Fri, 20 Dec 2002 08:03:31 -0500, "Jeff Smith" <jsmit234_at_ford.com>
> wrote:
>
>

>>You have an accident waiting to happen.
>>
>>Code should be maintained OUTSIDE of the database using a version control
>>software.
>>
>>
>>"tony" <meinhfxGARBAGE_at_hotmail.com> wrote in message
>>news:3e020177.16235514_at_news.dal.ca...
>>
>>> My question has to do with
>>>how best to maintain code in all areas where there are several
>>>developers / support people all working in each area.  Since we can
>>>retrieve the source from the databases it seems to me that there is
>>>really no need to keep a current version of source thereby avoiding
>>>the situation where developer a moves source from test to prod but
>>>forgets to compile then developer b takes the source from prod back to
>>>test to work on a bug. 

>
>
> Thanks for all the replys. Perhaps I worded the question poorly
> though because I don't think anyone really addressed it! We do have a
> promotion procedure. We do have fully backed up version control.
> What I'm asking is should we extract the source from the database
> rather than assume that the apparent, current version is in fact what
> was last compiled? Is the ability to
>
> select text
> from sys.dba_source
> where name = 'PLSQLCODE'
> and type = 'PACKAGE BODY'
> order by line;
>
> not something we should be using to ensure we're working with the
> correct version?
>
> tony

Don't give your developers the password to the schema owner's account. Then they can't create any functions, procedures, or packages under that account. If the schema owner *always* pulls the latest from your version control app, then they'll never get out of sync. And it's a lot easier to control the urge of a single schema owner to take shortcuts than it is a whole team of developers. Received on Fri Dec 20 2002 - 11:20:10 CST

Original text of this message

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