本文摘自PHP中文网,作者hzc,侵删。

方式一:alter table old_table_name rename to new_table_name;
这是最简单的(个人认为)
方式二:select tname from tab;(查询的是数据库中所有的表名)rename old_table_name to new_table_name;
rename只能修改自己schema下面的表
方式三:create table new_table_name as select * from old_table_name;
相当于再复制成一张新表
drop table old_table_name;
删除旧表
方式四:直接在PLSQL developer
里面改
推荐教程: 《Oracle教程》
以上就是oracle怎么修改表名的详细内容,更多文章请关注木庄网络博客!
相关阅读 >>
centos下oracle11gr2安装教程与自动化配置脚本的方法
更多相关阅读请进入《oracle》频道 >>

数据库系统概念 第6版
本书主要讲述了数据模型、基于对象的数据库和XML、数据存储和查询、事务管理、体系结构等方面的内容。