ExamGecko
Question list
Search
Search

Question 140 - COF-C02 discussion

Report
Export

Which SQL commands, when committed, will consume a stream and advance the stream offset? (Choose two.)

A.
UPDATE TABLE FROM STREAM
Answers
A.
UPDATE TABLE FROM STREAM
B.
SELECT FROM STREAM
Answers
B.
SELECT FROM STREAM
C.
INSERT INTO TABLE SELECT FROM STREAM
Answers
C.
INSERT INTO TABLE SELECT FROM STREAM
D.
ALTER TABLE AS SELECT FROM STREAM
Answers
D.
ALTER TABLE AS SELECT FROM STREAM
E.
BEGIN COMMIT
Answers
E.
BEGIN COMMIT
Suggested answer: A, C

Explanation:

The SQL commands that consume a stream and advance the stream offset are those that result in changes to the data, such as UPDATE and INSERT operations. Specifically, 'UPDATE TABLE FROM STREAM' and 'INSERT INTO TABLE SELECT FROM STREAM' will consume the stream and move the offset forward, reflecting the changes made to the data.

References: [COF-C02] SnowPro Core Certification Exam Study Guide

asked 23/09/2024
Monterio Weaver
33 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first