SnowPro Core Certification — Question 558

Which operation will produce an error in Snowflake?

Answer options

Correct answer: B

Explanation

The correct answer is B because inserting a NULL into a NOT NULL constrained column violates the constraint and results in an error. Options A and C are incorrect as Snowflake allows duplicates in UNIQUE columns unless specified otherwise. Option D is also incorrect since Snowflake allows the insertion of values that do not match the referenced FOREIGN KEY value, provided other integrity constraints are maintained.