
Data Loading/Functions - 7

Quiz
•
Instructional Technology
•
Professional Development
•
Medium
Sydney Cucchiara
Used 5+ times
FREE Resource
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
●You are loading a table named my_table
●The files you want to load are on the TABLE stage
●You've created a file format called my_csv
What COPY INTO command will you use?
COPY INTO
my_table
FROM
@%my_table
FILE_FORMAT =
(FORMAT_NAME = my_csv);
COPY INTO
my_table
FROM
@my_table
FILE_FORMAT =
CSV
COPY INTO
table
FROM
@%my_table
FILE_FORMAT =
(FORMAT_NAME = my_csv);
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does a file format do?
Format the data as it is being written to the table.
Describe how to read the input file.
Read the file into Snowflake
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
TRUE OR FALSE?
Metadata for micro-partitions is created only when you load data from an internal stage.
TRUE
FALSE
Answer explanation
Metadata for micro-partitions is always created, even if you load data from an external stage, or use other methods (such as INSERT or CTAS) to add data to a table.
4.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which of the following statements about stages are TRUE?
A stage is a cloud file repository.
A stage can be internal or external.
Stages disappear as soon as all their files are loaded.
You can manually create named stages, user stages, or table stages.
5.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which of the following statements about file formats are TRUE?
File formats store data of a particular type
A file format stores information needed to parse input files for loading.
You must specify a file format as part of every COPY INTO command.
The default file format is CSV.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Does this command use an internal stage, or an external stage?
COPY INTO
my_table
FROM
@my_stage
internal
external
neither
you can't tell!
Answer explanation
You can't tell. It's a named stage, which could be either external or internal
7.
FILL IN THE BLANK QUESTION
1 min • 1 pt
TRUE OR FALSE?
This command will load data from a named stage:
COPY INTO my_table
FROM @%my_table;
Answer explanation
The command is loading data from a table stage. You can tell from the prefix:
@<stage name> = named stage
@%<table name> = table stage
@~ = user stage
Similar Resources on Wayground
10 questions
Quiz FIlament Laravel

Quiz
•
Professional Development
10 questions
MS Teams

Quiz
•
4th Grade - Professio...
9 questions
Review of GDPR Practitioner Course

Quiz
•
Professional Development
5 questions
ED 310: CH 3 Quiz

Quiz
•
Professional Development
10 questions
AWS Technical Essentials

Quiz
•
Professional Development
10 questions
Kuiz Excel Made Easy Part 1

Quiz
•
Professional Development
10 questions
Audacity:Know the basics

Quiz
•
Professional Development
11 questions
Penerapan Teknologi Informasi - GANISPH Canhut

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade