Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.tools -> Create View from within Stored Procedure?
Hi, sorry if this is the world's dumbest question:
Is it possible to create a stored procedure which creates a view?
It seems not, based on the results shown below (using Oracle 7.3). Or am I just missing something?
Many thanks-
-David Hoffman
Warning: Procedure created with compilation errors.
SQL> SQL> SQL> SQL> show errors
LINE/COL ERROR
-------- ----------------------------------------------------------------- 3/3 PLS-00103: Encountered the symbol "CREATE" when expecting one of the following: begin declare exit for goto if loop mod null pragma raise return select update while <an identifier>Received on Wed Oct 18 2000 - 12:19:03 CDT
<a double-quoted delimited-identifier> <a bind variable>
<a single-quoted SQL string> << close delete fetch lock
insert open rollback savepoint set sql commit
![]() |
![]() |