QuestionQ230Verified/Creating and Managing TablesCopy linkReport a problemAsk AstroTutorSave questionWhich two statements about constraints are true?Choose twoAThe UNIQUE constraint does not permit a null value for the column.BA UNIQUE index gets created for columns with PRIMARY KEY and UNIQUE constraints.CThe PRIMARY KEY and FOREIGN KEY constraints create a UNIQUE index.DThe NOT NULL constraint ensures that null values are not permitted for the column.Show AnswerAnswerExplanationA UNIQUE constraint allows nulls unless a separate NOT NULL constraint is present. Oracle Database creates an associated unique index to enforce enabled UNIQUE and PRIMARY KEY constraints, whereas a foreign key does not create a unique index. A NOT NULL constraint prevents null values in the constrained column.Learn moreOracle Database Data IntegrityOracle Database Managing IndexesShow comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion