Exam SnowPro Core All QuestionsBrowse all questions from this exam
Question 512

Which operation will produce an error in Snowflake?

    Correct Answer: B

    In Snowflake, constraints such as PRIMARY KEY, UNIQUE, and FOREIGN KEY are not enforced by the system except for the NOT NULL constraint. Therefore, inserting duplicate values into a PRIMARY KEY column, inserting duplicate values into a column with a UNIQUE constraint, and inserting a value into a FOREIGN KEY column that does not match a value in the referenced column will not produce an error. However, trying to insert a NULL into a column that has a NOT NULL constraint will produce an error because Snowflake enforces the NOT NULL constraint.

Discussion
EmiBOption: B

B - Snowflake supports defining and maintaining constraints, but does not enforce them, except for NOT NULL constraints, which are always enforced.

MultiCloudIronManOption: B

Verified

_yyuktaOption: B

B. Inserting a NULL into a column with a NOT NULL constraint