Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Rename columns

Re: Rename columns

From: Jonathan Gennick <jonathan_at_gennick.com>
Date: Sun, 20 Jun 1999 04:19:02 GMT
Message-ID: <37705efd.44960629@netnews.worldnet.att.net>


On Fri, 18 Jun 1999 16:57:40 -0500, "Brian Peasland" <peasland_at_email.msn.com> wrote:

>I want to rename a column in a table. I know that I can copy the table to a
>temporary table and recreate the table with the column renamed. But how do I
>ensure that the table constraints stay. I would like to be able to rename
>the column in a table without dropping any constraints. Is this a problem?
>Does anyone have a solution?

My "solution" has always been to check to see what constraints exist, and then recreate them on the new table. Renaming columns has never been my favorite task.

Jonathan



jonathan_at_gennick.com
http://gennick.com
Brighten the Corner Where You Are Received on Sat Jun 19 1999 - 23:19:02 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US