This is a discussion on oracle view within the Oracle Database forums, part of the Database category; hello everbody, can anybody tell me that why we cannot use order by clause in view....
|
|||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I assume you are talking about creating view.
We can Use Order by Clause while creating View. I am not sure about the version that you are working on. It works in 10g CREATE VIEW employeeview AS SELECT *FROM employees ORDER BY 1 DESC; So if we execute SELECT *FROM employeeview ; It would return employee records on descending order of first column. Hope this clarifies. |
![]() |
| Thread Tools | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Oracle Enterprise Single Sign-On Write-Up | JaySan | Oracle Tutorials | 1 | 12-02-2008 02:59 AM |
| QTP Material | kalyansantosh | Software Testing | 5 | 05-08-2008 01:52 AM |
| Oracle Apps Technical / Functional Consultants | sunilk123 | Experienced Job Seekers - India | 0 | 06-30-2006 01:52 AM |
| WebSphere V5.0 : Use Outline and Browsing View | lokeshm | Java | 0 | 05-30-2006 04:00 PM |
| Employee Referral Walk-in - SAP, Java, Oracle, .NET and Siebel | kalareddy | Experienced Job Seekers - India | 0 | 09-15-2005 02:46 AM |