Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

PostgreSQL PGCES-02 Exam - Topic 2 Question 73 Discussion

Posted by Herminia on Sep 18, 2024 at 04:28 PM

Select two incorrect statements regarding 'TRIGGER'.

Suggested Answer: C, E

Get Premium PGCES-02 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
35 comments · newest first
HY
Hyun 10 months ago
B is correct, triggers can be called on INSERT.
EV
Evangelina 11 months ago
A and C are the wrong ones for sure!
LE
Leila 11 months ago
Wait, are you sure about E? I thought rules aren't automatic.
CA
Carma 11 months ago
Totally agree, C is definitely incorrect!
CA
Carlota 11 months ago
Triggers don't work with SELECT statements.
YU
Yuriko 12 months ago
I thought triggers could call functions before or after events, so option D should be correct, but I'm confused about the rules part in option E.
ME
Melodie 12 months ago
I practiced a similar question, and I remember that triggers can only be set for INSERT, UPDATE, or DELETE, so option C seems wrong.
DE
Dean 12 months ago
I'm not entirely sure about option E; I feel like I read something about rules and triggers being related, but I can't remember the details.
GL
Gladis 1 year ago
I think option C is definitely incorrect because triggers don't activate on SELECT statements, right?
CL
Claribel 1 year ago
I've got a good handle on triggers, so I think I can identify the incorrect statements here. I just need to carefully read through the options.
DA
Dante 1 year ago
This question seems straightforward, but I want to double-check my understanding of triggers before answering.
AD
Adrianna 1 year ago
Okay, let me think this through. I know triggers can be set up to fire before or after an event, but I'm not sure about the specific events like INSERT, UPDATE, and SELECT.
PA
Paola 1 year ago
Hmm, I'm a bit unsure about this one. I know triggers can be used to call functions, but I'm not sure about the specifics of when they can be called.
ST
Stephen 1 year ago
I'm pretty confident I can handle this question. The key is to identify the incorrect statements about triggers.
MA
Matthew 2 years ago
I bet the answer is B and C. Triggers are meant to fire on INSERT and UPDATE, not SELECT. Easy peasy!
IS
Isaiah 2 years ago
↳ replying to Matthew
Exactly, triggers can be set up to call a specified function before or after INSERT or UPDATE events.
GL
Glenn 2 years ago
↳ replying to Matthew
So, the incorrect statements would be B and C, since triggers do not fire on SELECT operations.
RE
Reid 2 years ago
↳ replying to Matthew
That's correct, triggers are used to perform actions before or after INSERT and UPDATE operations.
WA
Wai 2 years ago
↳ replying to Matthew
I think you're right, triggers are meant to fire on INSERT and UPDATE.
LY
Lynelle 2 years ago
Haha, this question is like a trigger trap! You really need to know your trigger fundamentals to nail this one.
LI
Ligia 2 years ago
I'm pretty sure A, B, and D are all correct statements about triggers. C is the only one that seems off.
DI
Dion 2 years ago
↳ replying to Ligia
User 3: So, the incorrect statements are C and E.
MA
Magdalene 2 years ago
↳ replying to Ligia
User 2: I agree, C is the incorrect statement.
CA
Cathrine 2 years ago
↳ replying to Ligia
I think A, B, and D are correct about triggers.
EV
Evangelina 2 years ago
Whoa, E is a tricky one. I don't think a rule is automatically created when a trigger is set up. That feels like a trick question.
SH
Shonda 2 years ago
↳ replying to Evangelina
D) A trigger can be set up to call a specified function before or after the event occurs.
CH
Cheryl 2 years ago
↳ replying to Evangelina
I agree, E does seem like a trick question. It's not correct.
LO
Louisa 2 years ago
↳ replying to Evangelina
E) A corresponding rule is automatically created when a trigger is created.
KA
Kanisha 2 years ago
↳ replying to Evangelina
A) When UPDATE is executed to the table, the specified function can be called.
EL
Elliott 2 years ago
I believe statement E is also incorrect because a trigger does not automatically create a corresponding rule.
DO
Donte 2 years ago
Hmm, I think C is definitely incorrect. A trigger shouldn't be fired on a SELECT statement. The purpose of a trigger is to capture INSERT and UPDATE events, not SELECT.
AV
Avery 2 years ago
↳ replying to Donte
Yes, triggers are meant for INSERT and UPDATE events, not SELECT. C is definitely incorrect.
AV
Avery 2 years ago
↳ replying to Donte
I agree, C is incorrect. Triggers are not fired on SELECT statements.
BL
Blossom 2 years ago
I agree with Thaddeus. Statement C is definitely incorrect.
TH
Thaddeus 2 years ago
I think statement C is incorrect because SELECT does not trigger a function.
0/2000 characters

Save Cancel