changing one datatype to another [message #227935] |
Fri, 30 March 2007 04:27 |
shahnazurs
Messages: 240 Registered: June 2005 Location: India
|
Senior Member |
|
|
Hi,
I want to change a column from numeric to alphanumeric. Can it be performed with truncating that column?
Note:
i don't have any key column in that table
Thanks,
Shahnaz.
|
|
|
|
Re: changing one datatype to another [message #227943 is a reply to message #227938] |
Fri, 30 March 2007 06:00 |
martijn
Messages: 286 Registered: December 2006 Location: Netherlands
|
Senior Member |
|
|
As a workaround you can:
1) add an extra column with the data-type required
2) update the new column (use some conversion probably) with old column
3) drop the old column
Hope it helps
|
|
|