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

Discussion

Which of the following is not true of SQL views?

  • A.Oracle views cannot use the ORDER BY clause in view definitions.
  • B.Oracle views are created using the standard SQL-92 CREATE VIEW command.
  • C.Oracle views can by queried.
  • D.The SQL-92 standard does not allow the use of the ORDER BY clause in view definitions.

Answer: A

Correct answer: Oracle views cannot use the ORDER BY clause in view definitions.

This is the statement that is not true, and it is the one place where Oracle departs from the standard in the permissive direction. SQL-92 forbids ORDER BY in a view definition, on the ground that a view is a relation and a relation has no order; Oracle allows it, which is convenient and is the exception the item is testing.

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

Post your comment

Please log in or register to post a comment.