ExamGecko
Question list
Search
Search

Question 318 - COF-C02 discussion

Report
Export

A view is defined on a permanent table. A temporary table with the same name is created in the same schema as the referenced table. What will the query from the view return?

A.
The data from the permanent table.
Answers
A.
The data from the permanent table.
B.
The data from the temporary table.
Answers
B.
The data from the temporary table.
C.
An error stating that the view could not be compiled.
Answers
C.
An error stating that the view could not be compiled.
D.
An error stating that the referenced object could not be uniquely identified.
Answers
D.
An error stating that the referenced object could not be uniquely identified.
Suggested answer: A

Explanation:

When a view is defined on a permanent table, and a temporary table with the same name is created in the same schema, the query from the view will return the data from the permanent table.Temporary tables are session-specific and do not affect the data returned by views defined on permanent tables2.

asked 23/09/2024
Tom Ogan
34 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first