oracle怎么修改表名
方式一: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教程》
? 版權聲明
文章版權歸作者所有,未經允許請勿轉載。
THE END
喜歡就支持一下吧
相關推薦