Exforsys

Online Training

oracle view

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....


Go Back   Exforsys > Database > Oracle Database

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-13-2008, 01:45 AM
chita12342003's Avatar
Junior Member
 
Join Date: Feb 2008
Posts: 1
chita12342003 is on a distinguished road
oracle view

hello everbody,
can anybody tell me that why we cannot use order by clause in view.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 03-19-2008, 08:02 PM
Junior Member
 
Join Date: Jun 2005
Posts: 1
Chandrasekar.m is on a distinguished road
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new questions
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
QTP Material kalyansantosh Software Testing 5 05-08-2008 12:52 AM
Oracle Enterprise Single Sign-On Write-Up JaySan Oracle Tutorials 0 03-01-2008 02:39 PM
Oracle Apps Technical / Functional Consultants sunilk123 Experienced Job Seekers - India 0 06-30-2006 12:52 AM
WebSphere V5.0 : Use Outline and Browsing View lokeshm Java 0 05-30-2006 03:00 PM
Employee Referral Walk-in - SAP, Java, Oracle, .NET and Siebel kalareddy Experienced Job Seekers - India 0 09-15-2005 01:46 AM


All times are GMT -4. The time now is 12:47 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2004 - 2007 Exforsys Inc. All rights reserved.