QuestionQ96Verified/Creating and Managing TablesCopy linkReport a problemAsk AstroTutorSave questionWhich three statements are true regarding dropping and unused columns in an Oracle database?Choose threeAA primary key column referenced by another column as a foreign key can be dropped if using the CASCADE option.BAn UNUSED column's space is reclaimed automatically when the block containing that column is next queried.CAn UNUSED column's space is reclaimed automatically when the row containing that column is next queried.DPartition key columns cannot be dropped.EA DROP COLUMN command can be rolled backFA column that is set to UNUSED still counts towards the limit of 1000 columns per tableShow AnswerAnswerExplanationCASCADE CONSTRAINTS permits a referenced primary or unique key column to be dropped by removing the foreign-key constraints that reference it. Oracle does not allow a partitioning-key column to be dropped. Columns marked UNUSED remain physically present until they are explicitly dropped, so they still count toward the 1000-column limit; their space is reclaimed by DROP UNUSED COLUMNS, not by a subsequent query. DDL is not rollbackable.Learn moreOracle Database SQL Language Reference: ALTER TABLEShow comments2Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion