alter the column type

Started by ansonalmost 25 years ago2 messages
#1anson
anson_tsai@sina.com

Hello,

i would like to alter the column type which has exist in
the table, i can't find anything about that, can anybody help me?

--
Best regards,
anson mailto:anson_tsai@sina.com

#2Thomas Lockhart
lockhart@alumni.caltech.edu
In reply to: anson (#1)
Re: alter the column type

i would like to alter the column type which has exist in
the table, i can't find anything about that, can anybody help me?

To effectively alter the type of a column, you must do a "create
table"/"insert into"/"create table as" combination to make an
intermediate temporary table with the correct type (of course, other
permutations of commands can give the desired result also).

- Thomas