源码网商城,靠谱的源码在线交易网站 我的订单 购物车 帮助

源码网商城

oracle中修改表名的几种方式

  • 时间:2022-08-17 20:10 编辑: 来源: 阅读:
  • 扫一扫,手机访问
摘要:oracle中修改表名的几种方式
answer1: ALTER TABLE old_table_name RENAME TO new_table_name;(大写为系统命令) answer2: SQL> select tname from tab ; TNAME ------------------------------ TEST SQL> rename test to temp ; Table renamed. SQL> select tname from tab ; TNAME ------------------------------ TEMP rename只能修改自己schema下面的表。 answer3: create new_table as select * from old_table;drop table old_table; answer4: 直接在PLSQL Developer里面改
  • 全部评论(0)
联系客服
客服电话:
400-000-3129
微信版

扫一扫进微信版
返回顶部