Data Loading/Functions - 7

Data Loading/Functions - 7

Professional Development

7 Qs

quiz-placeholder

Similar activities

วัดพื้นฐาน Google Site

วัดพื้นฐาน Google Site

Professional Development

10 Qs

Web Technologies

Web Technologies

Professional Development

10 Qs

POO_3

POO_3

Professional Development

11 Qs

[September] Download (+)

[September] Download (+)

Professional Development

10 Qs

SFRP March 2024 Knowledge Check

SFRP March 2024 Knowledge Check

Professional Development

10 Qs

Bài tập lớp 12

Bài tập lớp 12

Professional Development

10 Qs

EVA CONTINUA 01 - Metodos de Datos

EVA CONTINUA 01 - Metodos de Datos

Professional Development

10 Qs

Ingat-ingat Lagi

Ingat-ingat Lagi

Professional Development

10 Qs

Data Loading/Functions - 7

Data Loading/Functions - 7

Assessment

Quiz

Instructional Technology

Professional Development

Practice Problem

Medium

Created by

Sydney Cucchiara

Used 5+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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