CodeSnip: Selecting the nth Record from a Table Using Oracle
page 1 of 3
Published: 01 Feb 2008
Abstract
In this code snippet, Deepankar examines the usage of Oracle's ROWNUM keyword to select the nth row of a table. It also deals with the other possible methods of selection along with the risks involved in using them. The article begins with a short introduction followed by relevant SQL code with explanation and screenshots.
by Deepankar Sarangi
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 3663/ 158
Article Contents:

Introduction

In order to follow the article you will require Oracle 9i or an above version. ROWNUM is a virtual column, which is available in a query.


View Entire Article

Article Feedback

Title:  
Name:  
Url: ( Optional )
Comment:  
Please add 5 and 7 and type the answer here:

User Comments

Title: question   
Name: sanjeet
Date: 5/27/2008 1:19:09 AM
Comment:
Question: display the 7th record of emp table with using rownum.




Question: delete all duplicate records except one record from emp table as empno. , ename, salary,






Ads Powered by Lake Quincy Media
Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2008 ASPAlliance.com  |  Page Processed at 8/30/2008 11:43:51 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search