
Answer-first summary for fast verification
Answer: SHOW FILE FORMATS
The SHOW FILE FORMATS command in Snowflake is specifically designed to list all file formats that are accessible to the current user based on their privileges. This directly matches the question requirement to 'list all the file formats for which a user has access privileges.' The community discussion shows consensus with multiple users confirming D as correct, with one user providing a direct link to Snowflake documentation that validates this command. Other options are unsuitable: LIST is not a valid Snowflake command for this purpose, ALTER FILE FORMAT modifies existing formats rather than listing them, and DESCRIBE FILE FORMAT provides detailed information about a specific format rather than listing all accessible formats.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.