Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: CAN I RENAME A COLUMN IN TABLE
>Dominick LoGiudice wrote:
Create a temporary table ( temp_domsplit) with a create table temp_domsplit as select ( list the fields and when its is time to list LEVEL, enclose it in quotes and give it an alias i.e. select a,b,"LEVEL" split_level,d,e,... ) ... Drop the original table and rename temp_domsplit to domsplit...
Any constraints, indices, etc will have to be redone...
Note: if SqlPlus will handle LEVEL as a field name in the select statement, then the quotes are not needed...
Hope it helps, Received on Wed May 20 1998 - 09:27:08 CDT
![]() |
![]() |