Re: Dynamically Dropping Views in a Stored Procedure
mmm drop works for me, what version are you running:
delimiter //
create view v as select 'v'
//
create procedure p()
drop view v
//
call p()
//
select * from v
//
ERROR 1146 (42S02): Table 'test.v' doesn't exist
so, the view is definely dropped
Subject
Views
Written By
Posted
1864
November 21, 2005 11:04AM
Re: Dynamically Dropping Views in a Stored Procedure
1477
November 24, 2005 08:11PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.