1.

___________ defines rules regarding the values allowed in columns and is the standard mechanism for enforcing database integrity.(a) Column(b) Constraint(c) Index(d) TriggerI had been asked this question during an interview.My question is based upon DDL Command in chapter SQL Basics of Oracle

Answer» <html><body><p>The <a href="https://interviewquestions.tuteehub.com/tag/correct-409949" style="font-weight:bold;" target="_blank" title="Click to know more about CORRECT">CORRECT</a> answer is (<a href="https://interviewquestions.tuteehub.com/tag/b-387190" style="font-weight:bold;" target="_blank" title="Click to know more about B">B</a>) Constraint<br/><br/>Explanation: SQL constraints are <a href="https://interviewquestions.tuteehub.com/tag/used-2318798" style="font-weight:bold;" target="_blank" title="Click to know more about USED">USED</a> to specify <a href="https://interviewquestions.tuteehub.com/tag/rules-1192084" style="font-weight:bold;" target="_blank" title="Click to know more about RULES">RULES</a> for the data in a table.If there is any violation between the constraint and the data action, the action is aborted by the constraint.</p></body></html>


Discussion

No Comment Found

Related InterviewSolutions