ExamGecko
Home / Snowflake / COF-C02 / Practice Test 8
Ask Question

Snowflake COF-C02 Practice Test 8

00:00:00
Show Answer
Report Issue   Restart test

Question 1 / 40

What is the recommended way to change the existing file format type in my format from CSV to JSON?

ALTER FILE FORMAT my_format SET TYPE=JSON;
ALTER FILE FORMAT my_format SET TYPE=JSON;
ALTER FILE FORMAT my format SWAP TYPE WITH JSON;
ALTER FILE FORMAT my format SWAP TYPE WITH JSON;
CREATE OR REPLACE FILE FORMAT my format TYPE-JSON;
CREATE OR REPLACE FILE FORMAT my format TYPE-JSON;
REPLACE FILE FORMAT my format TYPE-JSON;
REPLACE FILE FORMAT my format TYPE-JSON;
Comment (0)
Suggested answer: A
Explanation:

To change the existing file format type from CSV to JSON, the recommended way is to use the ALTER FILE FORMAT command with the SET TYPE=JSON clause. This alters the file format specification to use JSON instead of CSV.References:Based on my internal knowledge as of 2021.

asked 23/09/2024
Oscar Ballabriga
35 questions