WebMay 19, 2001 · I find in 8i (and later), we can set a column in a table as "unused" column instead of drop it immediately. A demo is: use the "alter table xxx set unused (yyy)", where … WebJan 18, 2016 · The SET UNUSED syntax is a convenience for DBAs. Dropping a column is potentially a resource-intensive exercise. Marking it as UNUSED is a lot quicker, so it allows them to withdraw a column from use in busy times and run DROP UNUSED when the …
Oracle Live SQL - Script: Dropping Unused Columns
WebOracle Drop Column using SET UNUSED COLUMN clause The process of dropping a column from a big table can be time and resource consuming. Therefore, we typically drop the … WebUse the ALTER TABLE statement to alter the definition of a nonpartitioned table, ... Oracle recommends that a representative set of data already exist in the table before you specify … green hat from south park
Can you recover a column marked as UNUSED? - Ask …
WebMar 16, 2024 · ALTER TABLE SET UNUSED (, , ); ALTER TABLE DROP UNUSED COLUMNS; oracle oracle12c ddl Share Improve this question Follow asked Mar 16, 2024 at 20:29 AJ. 71 2 11 Add a comment 2 Answers Sorted by: 1 Is your goal to improve performance, or to conserve UNDO space used? CHECKPOINT will not improve … WebJun 1, 2010 · 2 Answers Sorted by: 2 Try using ALL_TAB_COLUMNS instead of ALL_TAB_COLS. In Oracle 11.2 I find that unused columns appear in ALL_TAB_COLS (though renamed) but not in ALL_TAB_COLUMNS. I created a table like this: create table t1 (c1 varchar2 (30), c2 varchar2 (30); Then set c2 unused: alter table t1 set unused column … WebFeb 24, 2024 · Addressing the Drop Column Bug in Oracle 18c and 19c. The road of progress can be rough at times. Oracle versions 18 and 19 are no exception. Up until version 18.x Oracle had no issues with marking columns as unused and eventually dropping them. Given some interesting circumstances, the latest two Oracle versions can throw ORA-00600 … green hat films clg