tyson記事本

Google & man(Unix) are your best friends!

Skip to: Content | Sidebar | Footer

Date: December 30th, 2005

Can one drop a column from a table?

30 December, 2005 (11:29) | Oracle, SQL | By: tyson

Can one drop a column from a table?
Can one drop a column from a table?From Oracle8i one can DROP a column from a table. Look at this sample script, demonstrating the ALTER TABLE table_name DROP COLUMN column_name; command.
Other workarounds: 1. SQL> update t1 set column_to_drop = NULL;
SQL> rename t1 to t1_base;
SQL> create view t1 as [...]