如何重命名Oracle 10g中的表列(How to rename a table column in Oracle 10g)
我想知道:如何重命名Oracle 10g中的表列?
I would like to know: How to rename a table column in Oracle 10g?
原文:https://stackoverflow.com/questions/13878383
更新时间:2019-11-21 04:34
最满意答案
SQL> create table a(id number);
Table created.
SQL> alter table a rename column id to new_id;
Table altered.
SQL> desc a
Name Null? Type
----------------------------------------- -------- -----------
NEW_ID NUMBER
SQL> create table a(id number);
Table created.
SQL> alter table a rename column id to new_id;
Table altered.
SQL> desc a
Name Null? Type
----------------------------------------- -------- -----------
NEW_ID NUMBER
2012-12-14
相关问答
SQL> create table a(id n
最后
以上就是眯眯眼航空最近收集整理的关于oracle表中的列重命名,如何重命名Oracle 10g中的表列(How to rename a table column in Oracle 10g)...的全部内容,更多相关oracle表中的列重命名,如何重命名Oracle内容请搜索靠谱客的其他文章。
发表评论 取消回复