Restructuring a table
From: Ike (rxv_at_hotmail.com)
Date: 12/19/03
- Next message: vishnu: "Problem connecting Oracle with Tomcat 5.0"
- Previous message: Hammer: "prova"
- Next in thread: Sampsa Sohlman: "Re: Restructuring a table"
- Reply: Sampsa Sohlman: "Re: Restructuring a table"
- Reply: Silvio Bierman: "Re: Restructuring a table"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 19 Dec 2003 18:42:27 GMT
Suppose I have a table, and it is populated with many rows already. However,
I realise I structured something wrong in my table. I dont want to have to
go back and repopulate the entire table.
For example, suppose I have a field:
"inoutstatus INTEGER(3),"
Which I now realize should be :
"inoutstatus CHAR(1),"
Is there a way I can change the entire table without losing the other
records in each row? I can go back in and repopulate the inoutstatus fields,
but I really would like to know if there is merely some type of SQL command
I can issue to restructure the table this way.
Thanks, Ike
- Next message: vishnu: "Problem connecting Oracle with Tomcat 5.0"
- Previous message: Hammer: "prova"
- Next in thread: Sampsa Sohlman: "Re: Restructuring a table"
- Reply: Sampsa Sohlman: "Re: Restructuring a table"
- Reply: Silvio Bierman: "Re: Restructuring a table"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|