techxplore

Tuesday, December 13, 2011

Get a count of all objects in your schema

Pre-requisite: Must have access to schema you are querying on.

select owner,
count(object_type) "count", object_type
from ALL_OBJECTS
where owner = 'schema_name'
group by owner, object_type;


----

Replace schema_name with the name of your schema (in upper case). 
Posted by AI at 3:22 PM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: 11g, all, count, objects, oracle, schema

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2021 (1)
    • ►  May (1)
  • ►  2019 (2)
    • ►  April (2)
  • ►  2015 (2)
    • ►  October (1)
    • ►  April (1)
  • ►  2014 (4)
    • ►  June (1)
    • ►  April (2)
    • ►  March (1)
  • ►  2013 (3)
    • ►  December (1)
    • ►  November (1)
    • ►  August (1)
  • ►  2012 (23)
    • ►  November (1)
    • ►  October (1)
    • ►  September (2)
    • ►  July (1)
    • ►  June (3)
    • ►  May (4)
    • ►  April (1)
    • ►  February (1)
    • ►  January (9)
  • ▼  2011 (8)
    • ▼  December (8)
      • OBIEE 11G: Unable to login to OBIEE 11G Analytics ...
      • OBIEE 11G: weblogic.security.SecurityInitializatio...
      • Connecting to Oracle Database in SQL plus
      • Useful Oracle SQL commands
      • Adding existing tabset to your page
      • Get a count of all objects in your schema
      • Lost APEX ADMIN password?
      • Exporting Schema in Oracle Apex
Simple theme. Theme images by gaffera. Powered by Blogger.