dbTalk Databases Forums  

how to view sample schema

comp.database.oracle comp.database.oracle


Discuss how to view sample schema in the comp.database.oracle forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
aK
 
Posts: n/a

Default how to view sample schema - 09-02-2003 , 11:59 PM






what's the command to view if the sample schema has been installed with 9i
on my RH7.3?




Reply With Quote
  #2  
Old   
tojo
 
Posts: n/a

Default Re: how to view sample schema - 09-03-2003 , 01:52 AM






In article <Gye5b.8560$9T1.7008 (AT) nwrddc02 (DOT) gnilink.net>,
res1e24o (AT) verizon (DOT) net says...
Quote:
what's the command to view if the sample schema has been installed with 9i
on my RH7.3?

Log on as SYSTEM, then

select owner, count(*) num_schema_tables
from dba_tables
group by owner

Owners for sample schemas will be OE, PM, HR, stuff like that.

-- Tom


Reply With Quote
  #3  
Old   
Daniel Morgan
 
Posts: n/a

Default Re: how to view sample schema - 09-03-2003 , 10:05 AM



aK wrote:

Quote:
what's the command to view if the sample schema has been installed with 9i
on my RH7.3?


There are multiple sample schemas ... some or none of which might have
been installed.

Log on as system and:

SELECT username
FROM all_users;

And please don't cross-post to every Oracle group you can spell.

--
Daniel Morgan
http://www.outreach.washington.edu/e...ad/oad_crs.asp
http://www.outreach.washington.edu/e...oa/aoa_crs.asp
damorgan@x.washington.edu
(replace 'x' with a 'u' to reply)



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.