DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: Top 10 records

  1. #1
    Join Date
    Jul 2001
    Posts
    108
    Hello,

    Can you please tell me how to write a sql statement to fetch the top 10 table sizes (Bytes) in the table DBA_SEGMENTS.


    Thanks,
    NIkee

  2. #2
    Join Date
    Oct 2000
    Location
    Dallas:TX:USA
    Posts
    407
    something like this --

    select substr(segment_name,1,30), bytes from (select segment_name, bytes from dba_segments order by bytes desc) where rownum < 11


    - Rajeev
    Rajeev Suri

  3. #3
    Join Date
    Jul 2001
    Posts
    108
    Thank you.

    -Nikee

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