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: Execute Immediate vs. SQL*Plus syntax for CREATE OR REPLACE VIEW

Re: Execute Immediate vs. SQL*Plus syntax for CREATE OR REPLACE VIEW

From: Daniel Morgan <damorgan_at_x.washington.edu>
Date: Tue, 06 Apr 2004 22:57:30 -0700
Message-ID: <1081317432.663717@yasure>


Mark Freeman wrote:

> I am using Oracle 8i. I have code that creates a long (but less than
> 32k) string that contains a CREATE OR REPLACE VIEW statement.
>
> Any ideas?
>
> Thanks!

Just one ... stop performing DDL in a proc.

There is no justification for doing this so just don't. Build the view and then leave it alone.

Sorry but it is the only idea I have.

-- 
Daniel Morgan
http://www.outreach.washington.edu/ext/certificates/oad/oad_crs.asp
http://www.outreach.washington.edu/ext/certificates/aoa/aoa_crs.asp
damorgan_at_x.washington.edu
(replace 'x' with a 'u' to reply)
Received on Wed Apr 07 2004 - 00:57:30 CDT

Original text of this message

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