ExamGecko
Question list
Search
Search

Question 344 - SnowPro Core discussion

Report
Export

A permanent table and temporary table have the same name, TBL1, in a schema.

What will happen if a user executes select * from TBL1 ;?

A.
The temporary table will take precedence over the permanent table.
Answers
A.
The temporary table will take precedence over the permanent table.
B.
The permanent table will take precedence over the temporary table.
Answers
B.
The permanent table will take precedence over the temporary table.
C.
An error will say there cannot be two tables with the same name in a schema.
Answers
C.
An error will say there cannot be two tables with the same name in a schema.
D.
The table that was created most recently will take precedence over the older table.
Answers
D.
The table that was created most recently will take precedence over the older table.
Suggested answer: A

Explanation:

In Snowflake, if a temporary table and a permanent table have the same name within the same schema, the temporary table takes precedence over the permanent table within the session where the temporary table was created4.

asked 23/09/2024
Benvindo Almeida
41 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first