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: Create database link from inside a stored procedure

Re: Create database link from inside a stored procedure

From: gazzag <gareth_at_jamms.org>
Date: 29 Mar 2006 04:34:48 -0800
Message-ID: <1143635688.641130.118420@v46g2000cwv.googlegroups.com>


Jeremy wrote:

>

> The question remains - why is it a "mess" and should not be permitted in
> a production environment? I genuinely want to know and consider that a
> statment such as "DDL should be run by a DBA, not by application code"
> doesn't provide any kind of answer.

I guess it depends on your release procedures. In my opinion, a production system should be built by running the various object creation scripts against the database. Letting the application add database objects will ruin your audit trail. What if you need to build an exact copy of the database for, say, testing purposes or DR? Because your database isn't adequately documented (ie. you don't have the scripts required to recreate it), you cannot build a new environment but merely copy the existing database. This may be acceptable to your business; I assume you're a Windows site? Received on Wed Mar 29 2006 - 06:34:48 CST

Original text of this message

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