ExamGecko
Question list
Search
Search

Question 575 - SnowPro Core discussion

Report
Export

A clustering key was defined on a table, but It is no longer needed. How can the key be removed?

A.

ALTER TABLE <TABLE NAME> PURGE CLUSTERING KEY

Answers
A.

ALTER TABLE <TABLE NAME> PURGE CLUSTERING KEY

B.

ALTER TABLE <TABLE NAME> DELETE CLUSTERING KEY

Answers
B.

ALTER TABLE <TABLE NAME> DELETE CLUSTERING KEY

C.

ALTER TABLE <TABLE NAME> DROP CLUSTERING KEY

Answers
C.

ALTER TABLE <TABLE NAME> DROP CLUSTERING KEY

D.

ALTER TABLE <TABLE NAME> REMOVE CLUSTERING KEY

Answers
D.

ALTER TABLE <TABLE NAME> REMOVE CLUSTERING KEY

Suggested answer: C

Explanation:

To remove a clustering key that was previously defined on a table in Snowflake, the correct SQL command is ALTER TABLE <TABLE NAME> DROP CLUSTERING KEY. This command removes the existing clustering key from the table, after which Snowflake will no longer re-cluster data based on that key during maintenance operations or after data loading operations.

asked 29/10/2024
pedro blanco
27 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first