Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • This is im telling Kishore Oracle
  • Directory wise folder wise space usage Linux/Unix
  • Temporary Tablespace Information and restriction. Oracle
  • initUOCIOTTO.ora Oracle
  • MYSQL and Oracle Comparison for Oracle DBA MYSQL
  • V$CONTROLFILE_RECORD_SECTION reference notes. Oracle
  • DBMS_PROFILER for tuning PLSQL programs. Oracle
  • purge_trc.sh Linux/Unix
  • How does one overcome the Unix 2 Gig file limit? Linux/Unix
  • Running some SQL on multiple databases connecting using monitoring userid and password Linux/Unix
  • Follwoing korn shell is used to move files from source folder to destination folder and gzip it in destination folder. mv_iotto.ksh Linux/Unix
  • CPU Core related projections AWS
  • DBMS_STATS Metalinks Notes Oracle
  • Load SPM baseline from AWR Oracle
  • How To Resolve Stranded DBA_2PC_PENDING Entries ID 401302.1 (Very Good prooven) Oracle

Rownum with Order by

Posted on 31-Mar-2006 By Admin No Comments on Rownum with Order by

Above version 8.0, you can select rows for specified range.

select *

from ( select a.*, rownum rnum

from ( YOUR_QUERY_GOES_HERE — including the order by ) a

where rownum <= MAX_ROWS )
where rnum >= MIN_ROWS

/

Oracle, SQL scripts

Post navigation

Previous Post: tblwopk.sql tablewopk.sql
Next Post: TRUNCATE table and disabling referential constraints.

Related Posts

  • Goldengate document from Porus Oracle
  • create database link syntax Oracle
  • load SPM baseline from cursor cache Oracle
  • 272332.1 CRS 10g Diagnostic Collection Guide Oracle
  • Generating XML from SQLPLUS Oracle
  • logminer and my_lbu Oracle

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Django (0)
  • GIT (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (395)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (343)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026
  • Complete Git Tutorial for Beginners25-Dec-2025
  • Postgres DB user and OS user.25-Dec-2025
  • Trace a SQL session from another session using ORADEBUG30-Sep-2025
  • SQL Server Vs Oracle Architecture difference25-Jul-2025
  • SQL Server: How to see historical transactions25-Jul-2025
  • SQL Server: How to see current transactions or requests25-Jul-2025
  • T-SQL Vs PL/SQL Syntax25-Jul-2025
  • Check SQL Server edition25-Jul-2025

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • How do I get Oracle to automatically start when my server boots up? Oracle
  • plan10g.sql good1 Oracle
  • Reading config file from other folder inside class Python/PySpark
  • Removing first line Linux/Unix
  • Jai Shree Ram Oracle
  • Processes parameter and its dependencies on OS kernel parameters Linux/Unix
  • newupload.html PHP/MYSQL/Wordpress
  • Standby Database File Management in 10g with STANDBY_FILE_MANAGEMENT Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme