Machine-translated by Google. Questions are authored in English.
Top

Discussion

If any required (NOT NULL) columns are missing from the view, the view cannot be used for inserting new data.

  • A.True
  • B.False

Answer: A

Correct answer: True

An insert through a view supplies values only for the columns the view exposes, so a required column omitted from the view would be left null in the base table and the insert would fail. The view can therefore be used for reading and for updating existing rows, but not for inserting new ones.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.