Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: alter table command
On Wed, 29 Apr 1998 12:54:53 +0200, Frank Goebel
<Frank.Goebel_at_materna.de> wrote:
>Hi all,
>
>is there a command like >>alter table rename column<< in Oracle and if
>exists, what is the syntax from this command?
>
No there isn't. (Unless you you want to poke around in SYS and invalidate your support contract with Oracle)
The only way to rename a column is to rename the table, create a new table with the correct column name, then copy the data across.
There are some third-party scripts about that help you do this.
Tim Hall, Indus International (was TSW International)
tim.hall (at) iint.com
http://www.indusworld.com
Replace domain name with the iint.com before replying via email! Received on Wed Apr 29 1998 - 07:38:00 CDT