Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • arch_configUOCIOTTO.ora Oracle
  • ORA-8031 issue and solution if it is occuring due to truncate. Oracle
  • fuser to check who is using diretory Linux/Unix
  • Oracle 10g Wait Model Oracle
  • oracle_env_10g_CADEV Linux/Unix
  • findobj.sql Oracle
  • Oracle Connections expire_time and firewall Oracle
  • xargs use Linux/Unix
  • Restoring a user’s original password 1051962.101 Oracle
  • For Perl DBI installation and testing program PHP/MYSQL/Wordpress
  • Removing Blank lines from file using grep Linux/Unix
  • Index Range Scan Oracle
  • Finding Oracle Patches with opatch Oracle
  • Error Handling in Proc Oracle
  • Search and replace editor command in vi 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

  • create database link syntax Oracle
  • Find average Row Length and other table size calculation. metalink notes Oracle
  • Changing unix system clock when Oracle database is running. Oracle
  • How to start CRS manually Oracle
  • plan10g.sql Oracle
  • Sequence Resetting 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 (394)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (343)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • Checking SQL Server Version25-Jul-2025

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Jai Shree Ram PHP/MYSQL/Wordpress
  • Establishing trusted relationship between dbmonitor( central monitoring) and monitoring targets. Linux/Unix
  • Check_recovery.sh program to run sqlplus and return its values remotely. Linux/Unix
  • cold backup scripts to copy locally Linux/Unix
  • Find execution plan from dba_hist_sql_plan for a specific SQL_ID and PLAN_HASH_VALUE fplan.sql Oracle
  • Explain Plan Output 2 Oracle
  • To seee semaphores and shared memory segments in Solaris Linux/Unix
  • get_aix_vmstat.ksh Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme