DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: using order by clause when defining a query

  1. #1
    Join Date
    Mar 2001
    Posts
    8

    Question

    Oracle documentation specifies that the query that defines a view cannot contain the ORDER BY or FOR UPDATE clauses.
    But according to the book oracle DBA certification exam guide(by JASON S.COUCHMAN) the query that defines a view can contain the ORDER BY clause.
    Can anyone help me in clarifying, whether we could use order by clause in defining a view or not
    Kumar

  2. #2
    Join Date
    Dec 2000
    Location
    Ljubljana, Slovenia
    Posts
    4,439
    You can use ORDER BY in a view from 8.1.* onwards. In 8.0.* and before it was not allowed.
    Jurij Modic
    ASCII a stupid question, get a stupid ANSI
    24 hours in a day .... 24 beer in a case .... coincidence?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width