首页 > 数据库 > Oracle > 怎么在过程里写删除某个表的语句?
怎么在过程里写删除某个表的语句?
http://www.itpub.net/835271.html
[@more@] 我想运行一个过程(或者包),在执行过程中删除某个表T1,我该怎么在过程中写这个删除表的语句?
我用Drop Table tablename好像不行嘛?
Create Or Replace Procedure AA as
being
execute immediate 'drop table myTablename';
end;
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/92289/viewspace-962776/ ,如需转载,请注明出处,否则将追究法律责任。