我是靠谱客的博主 眯眯眼航空,这篇文章主要介绍oracle表中的列重命名,如何重命名Oracle 10g中的表列(How to rename a table column in Oracle 10g)...,现在分享给大家,希望可以做个参考。

如何重命名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内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(109)

评论列表共有 0 条评论

立即
投稿
返回
顶部