Computer AwarenessModerateIBPS SO IT Officer
A bank wants a log entry to be written automatically whenever a row in the ACCOUNTS table is updated, without the application doing it. Which database object does this?
- A. A view
- B. An index
- C. A trigger
- D. A cursor
Correct answer: C. A trigger
A trigger is code the DBMS runs automatically on an INSERT, UPDATE or DELETE event. A cursor steps through query results one row at a time.
हिंदी में
एक बैंक चाहता है कि ACCOUNTS तालिका की किसी पंक्ति के अद्यतन होने पर लॉग प्रविष्टि अपने आप लिखी जाए, एप्लिकेशन के किए बिना। यह कौन-सा डेटाबेस ऑब्जेक्ट करता है?
- A. व्यू
- B. इंडेक्स
- C. ट्रिगर
- D. कर्सर
उत्तर: C. ट्रिगर वह कोड है जिसे DBMS INSERT, UPDATE या DELETE घटना पर अपने आप चलाता है। कर्सर क्वेरी परिणामों को एक-एक पंक्ति करके पार करता है।
More Computer Awareness questions
- ORDERS.CustomerID is a foreign key to CUSTOMER, declared with ON DELETE CASCADE. What happens when a customer row is deleted?
- In ENROLMENT(StudentID, CourseID, Grade), a student takes many courses and a course has many students, but a student takes a course only…
- Which pairing of computer generation and its key technology is WRONG?
- ENIAC, completed in 1945 to compute artillery firing tables, was built with which technology and which number system?
- The 'stored-program' concept, in which a computer's instructions are kept in the same memory as its data, is chiefly associated with:
- Herman Hollerith's punched-card tabulating machine, whose company later grew into IBM, was first used on a large scale for: