Re: Changing Table Column Name
From: Breno de Avellar Gomes <brenogomes_at_ieee.org>
Date: Wed, 20 Oct 1999 19:20:46 +0100
Message-ID: <380E07FD.5154335B_at_ieee.org>
Date: Wed, 20 Oct 1999 19:20:46 +0100
Message-ID: <380E07FD.5154335B_at_ieee.org>
I am not sure if there is a direct path to rename a column, but if you
are using Oracle8i you can add the new column Societe, copy the
information from NomSocie to Societe and drop a column NomSocie with
command
ALTER TABLE Chefpro DROP COLUMN NomSocie
Hope this helps
Ould wrote:
> Hello Listers,
>
> I have a table like this :
> Chefpro (NomSocie, nomVille, ....).
> I want simply to change the name of attribute "NomSocie"
> to becomes "Societe".
> How I can do this using a command like ALTER
> and conserving the data already existing.
>
> Thanks
>
> Mohamed est de retour!
-- Breno de Avellar Gomes Database Applications & Internet Developer Arquivo-Sistemas de Bases de Dados P. O. Box 5006 4017-001 Porto Portugal brenogomes_at_ieee.org Cellular: +351 931 7383469 ICQ # 35567342 Toll free fax and voice recorder from USA 1-888-EXCITE2 extension 291-303-8152 Outside USA (international fares apply) 1-917-463-3173Received on Wed Oct 20 1999 - 20:20:46 CEST