Which is/are true about the triggers in SQL?
I. Trigger is used to ensure referential integrity constraint.
II. Trigger is used to start a task automatically when certain condition is met.
SQL में ट्रिगर्स के बारे में कौन सा कथन सत्य है?
I. निर्देशात्मक समाग्रता अवरोध सुनिश्चित करने के लिए ट्रिगर का उपयोग किया जाता है।
II. ट्रिगर का उपयोग किसी फंक्शन को स्वचालित रूप से शुरू करने के लिए किया जाता है जब भी कोई शर्त पूरी होती है।
Solution
Oracle lets users define procedures called triggers that run implicitly when an INSERT, UPDATE, or DELETE statement is issued against the associated table or when database system actions occur
These procedures can be written in PL/SQL, it ensures integrity constraint and can used to self-start a task
Solution
Oracle उपयोगकर्ताओं को ट्रिगर्स नामक प्रक्रियाओं को परिभाषित करने देता है जो अंतर्निहित रूप से चलाते हैं जब कोई INSERT, UPDATE, या DELETE कथन संबंधित तालिका के विरुद्ध या जब डेटाबेस सिस्टम क्रियाएँ होती हैं।
इन प्रक्रियाओं को पीएल/एसक्यूएल में लिखा जा सकता है, यह अखंडता की बाधा सुनिश्चित करता है और किसी कार्य को स्वयं शुरू करने के लिए उपयोग किया जा सकता है।
Exam Preparation Simplified
Trusted by 8.1 Crore+ Students