QuestionQ133Verified/Relational Database conceptsCopy linkReport a problemAsk AstroTutorSave questionWhich two statements about unused columns are true?Choose twoASetting an indexed column to unused results in an error.BYou can query the data dictionary to see the names of unused columns.CYou can specify multiple column names in an ALTER TABLE...SET UNUSED statement.DIf you set all the columns of a table to unused, the table is automatically dropped.ECASCADE CONSTRAINTS must be specified when setting a column to unused if that column is referenced in a constraint on another column.Show AnswerAnswerExplanationALTER TABLE ... SET UNUSED can mark one or more columns as unused. Oracle provides the USER_UNUSED_COL_TABS, ALL_UNUSED_COL_TABS, and DBA_UNUSED_COL_TABS data dictionary views for identifying tables that contain unused columns. CASCADE CONSTRAINTS is not available with SET UNUSED; it applies when columns are dropped.Learn moreOracle Database SQL Language Reference: ALTER TABLEShow comments2Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion