加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
uninstall.sql 9.45 KB
一键复制 编辑 原始数据 按行查看 历史
/*
Copyright (c) 2010 Jonas Krogsboell
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
declare begin
/* drop old install */
begin execute immediate 'drop package json_parser'; exception when others then null; end;
begin execute immediate 'drop package json_printer'; exception when others then null; end;
begin execute immediate 'drop package json_ext'; exception when others then null; end;
begin execute immediate 'drop package json_dyn'; exception when others then null; end;
begin execute immediate 'drop package json_ml'; exception when others then null; end;
begin execute immediate 'drop package json_xml'; exception when others then null; end;
begin execute immediate 'drop package json_util_pkg'; exception when others then null; end;
begin execute immediate 'drop package json_helper'; exception when others then null; end;
begin execute immediate 'drop package json_ac'; exception when others then null; end;
begin execute immediate 'drop type json force'; exception when others then null; end;
begin execute immediate 'drop type json_list force'; exception when others then null; end;
begin execute immediate 'drop type json_value_array force'; exception when others then null; end;
begin execute immediate 'drop type json_value force'; exception when others then null; end;
begin execute immediate 'drop type pljson_narray force'; exception when others then null; end;
begin execute immediate 'drop type pljson_vtab force'; exception when others then null; end;
begin execute immediate 'drop type pljson_varray force'; exception when others then null; end;
begin execute immediate 'drop type pljson_table_impl force'; exception when others then null; end;
begin execute immediate 'drop synonym pljson_table'; exception when others then null; end;
begin execute immediate 'drop synonym json_table'; exception when others then null; end;
/* drop new install */
begin execute immediate 'drop package pljson_parser'; exception when others then null; end;
begin execute immediate 'drop package pljson_printer'; exception when others then null; end;
begin execute immediate 'drop package pljson_ext'; exception when others then null; end;
begin execute immediate 'drop package pljson_dyn'; exception when others then null; end;
begin execute immediate 'drop package pljson_ml'; exception when others then null; end;
begin execute immediate 'drop package pljson_xml'; exception when others then null; end;
begin execute immediate 'drop package pljson_util_pkg'; exception when others then null; end;
begin execute immediate 'drop package pljson_helper'; exception when others then null; end;
begin execute immediate 'drop package pljson_ac'; exception when others then null; end;
begin execute immediate 'drop type pljson force'; exception when others then null; end;
begin execute immediate 'drop type pljson_list force'; exception when others then null; end;
begin execute immediate 'drop type pljson_value_array force'; exception when others then null; end;
begin execute immediate 'drop type pljson_value force'; exception when others then null; end;
begin execute immediate 'drop type pljson_element force'; exception when others then null; end;
begin execute immediate 'drop type pljson_narray force'; exception when others then null; end;
begin execute immediate 'drop type pljson_vtab force'; exception when others then null; end;
begin execute immediate 'drop type pljson_varray force'; exception when others then null; end;
begin execute immediate 'drop type pljson_table_impl force'; exception when others then null; end;
begin execute immediate 'drop package pljson_ut'; exception when others then null; end;
begin execute immediate 'drop table pljson_testsuite'; exception when others then null; end;
begin execute immediate 'drop synonym pljson_table'; exception when others then null; end;
begin execute immediate 'drop public synonym pljson_parser'; exception when others then null; end;
begin execute immediate 'drop public synonym pljson_printer'; exception when others then null; end;
begin execute immediate 'drop public synonym pljson_ext'; exception when others then null; end;
begin execute immediate 'drop public synonym pljson_dyn'; exception when others then null; end;
begin execute immediate 'drop public synonym pljson_ml'; exception when others then null; end;
begin execute immediate 'drop public synonym pljson_xml'; exception when others then null; end;
begin execute immediate 'drop public synonym pljson_util_pkg'; exception when others then null; end;
begin execute immediate 'drop public synonym pljson_helper'; exception when others then null; end;
begin execute immediate 'drop public synonym pljson_ac'; exception when others then null; end;
begin execute immediate 'drop public synonym pljson'; exception when others then null; end;
begin execute immediate 'drop public synonym pljson_list'; exception when others then null; end;
begin execute immediate 'drop public synonym pljson_value_array'; exception when others then null; end;
begin execute immediate 'drop public synonym pljson_value'; exception when others then null; end;
begin execute immediate 'drop public synonym pljson_element'; exception when others then null; end;
begin execute immediate 'drop public synonym pljson_narray'; exception when others then null; end;
begin execute immediate 'drop public synonym pljson_vtab'; exception when others then null; end;
begin execute immediate 'drop public synonym pljson_varray'; exception when others then null; end;
begin execute immediate 'drop public synonym pljson_table_impl'; exception when others then null; end;
begin execute immediate 'drop public synonym pljson_table'; exception when others then null; end;
begin execute immediate 'drop public synonym pljson_ut'; exception when others then null; end;
begin execute immediate 'drop public synonym pljson_testsuite'; exception when others then null; end;
begin execute immediate 'drop public synonym json_parser'; exception when others then null; end;
begin execute immediate 'drop public synonym json_printer'; exception when others then null; end;
begin execute immediate 'drop public synonym json_ext'; exception when others then null; end;
begin execute immediate 'drop public synonym json_dyn'; exception when others then null; end;
begin execute immediate 'drop public synonym json_ml'; exception when others then null; end;
begin execute immediate 'drop public synonym json_xml'; exception when others then null; end;
begin execute immediate 'drop public synonym json_util_pkg'; exception when others then null; end;
begin execute immediate 'drop public synonym json_helper'; exception when others then null; end;
begin execute immediate 'drop public synonym json_ac'; exception when others then null; end;
begin execute immediate 'drop public synonym json'; exception when others then null; end;
begin execute immediate 'drop public synonym json_list'; exception when others then null; end;
begin execute immediate 'drop public synonym json_value_array'; exception when others then null; end;
begin execute immediate 'drop public synonym json_value'; exception when others then null; end;
begin execute immediate 'drop public synonym json_table'; exception when others then null; end;
begin execute immediate 'drop synonym json_parser'; exception when others then null; end;
begin execute immediate 'drop synonym json_printer'; exception when others then null; end;
begin execute immediate 'drop synonym json_ext'; exception when others then null; end;
begin execute immediate 'drop synonym json_dyn'; exception when others then null; end;
begin execute immediate 'drop synonym json_ml'; exception when others then null; end;
begin execute immediate 'drop synonym json_xml'; exception when others then null; end;
begin execute immediate 'drop synonym json_util_pkg'; exception when others then null; end;
begin execute immediate 'drop synonym json_helper'; exception when others then null; end;
begin execute immediate 'drop synonym json_ac'; exception when others then null; end;
begin execute immediate 'drop synonym json'; exception when others then null; end;
begin execute immediate 'drop synonym json_list'; exception when others then null; end;
begin execute immediate 'drop synonym json_value_array'; exception when others then null; end;
begin execute immediate 'drop synonym json_value'; exception when others then null; end;
begin execute immediate 'drop synonym json_table'; exception when others then null; end;
end;
/
show err
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化