Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • fkwoind.sql fkwoindex.sql Oracle
  • exp syntax in oracle 10g Oracle
  • Good notes on Oracle Events Oracle
  • Oracle Identifiers Oracle
  • Optimizer_Index init.ora parameter explaination. Oracle
  • .profile Linux/Unix
  • Load SPM baseline from AWR Oracle
  • Oracle Connections expire_time and firewall Oracle
  • rm_backup_arch_file.ksh Linux/Unix
  • How can I tell if ASO is installed ? Oracle
  • Implementation of key based authentications Linux/Unix
  • metalink all dynamic view reference notes. Oracle
  • Small sample shell program Linux/Unix
  • How to set Processes Parameter Oracle
  • Guide to Linux System Command Mastery Linux/Unix

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

  • Disbaling DBA_SCHEDULER_JOBS Oracle
  • Handling LOB data in Oracle Oracle
  • The most important Tuning Notes Oracle
  • exp syntax in oracle 10g Oracle
  • _B_TREE_BITMAP_PLANS issue during 8.1.7 to 9.2.0.8 upgrade Oracle
  • Recovering lost SYS password 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 (402)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (350)
  • SQL Server (6)
  • Uncategorized (5)
  • Videos (0)

Recent Posts

  • SAT Mathematics 10 questions and answer at the end.30-Apr-2026
  • top 10 AI news today30-Apr-2026
  • runon_allpdbs_show_conname.sh23-Apr-2026
  • runon_allcdbs_find_pdbs.sql23-Apr-2026
  • Running PDB on single node in RAC09-Apr-2026
  • find_arc.sql09-Apr-2026
  • pvm_pre_change.sql08-Apr-2026
  • find_encr_wallet.sql08-Apr-2026
  • find_pdbs.sql08-Apr-2026
  • Creating a Container Database using dbaascli08-Apr-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • fkwoindex.sql /* Find FK without Index */ Oracle
  • chk_space_SID.ksh Linux/Unix
  • switchover for primary database Oracle
  • Committing distributed transaction using commit force Oracle
  • SYSOPER Mystery Oracle
  • To Find Orphan OS processes. Linux/Unix
  • Explain Plan Doesn’T Change For Sql After New Statistics Generated Oracle
  • To find all disk io ( EMC as well as local) Linux/Unix

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme