|
|
Archives of the TeradataForum
Message Posted: Wed, 11 Dec 2002 @ 22:29:05 GMT
Subj: | | DEFAULT values for a new Column |
|
From: | | Anomy Anom |
<-- Anonymously Posted: Wednesday, December 11, 2002 10:36 -->
Does anyone know if the following is possible :
Adding a new column to an existing table, using the ALTER statement and set the DEFAULT value to the value of another column in the same
table, instead of a hard coded DEFAULT value, as is normally the case? (I realize the same can be achieved by moving all the data to a new
table containing the new column, dropping the old and renaming the new etc.., but was hoping for a less involved solution)
| |