ExamGecko
Question list
Search
Search

Question 158 - SnowPro Core 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.

asked 23/09/2024
Petya Pavlova
43 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first