Getting Rank not using RANK()
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: Getting Rank not using RANK()

  1. #1
    Join Date
    Mar 2002
    Posts
    1
    Hi,
    I just want know how to get the rank not using analytic function but using pl/sql function or procedure.Thanks in Advance
    Regards
    Dinesh

  2. #2
    Join Date
    Mar 2001
    Location
    Reading, U.K
    Posts
    598
    try this:
    select rownum rank, dept.* from (select * from dept order by dname) dept

    hth
    Cheers!
    OraKid.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width