Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: another OCP question -- help me guys

Re: another OCP question -- help me guys

From: Rachel Carmichael <wisernet100_at_yahoo.com>
Date: Wed, 07 Jan 2004 05:29:25 -0800
Message-ID: <F001.005DBFB3.20040107052925@fatcity.com>


Jonathan,

I successfully use "drop tablespace including contents and datafiles" all the time. And a quick check of the docs shows that "cascade constraints" is valid but, as Richard said, belongs at the end of the statement.

As for the second question. DBA_SEGMENTS gives you the total allocated blocks in a single select, without aggregation. To use DBA_EXTENTS you'd have to use sum(blocks) in the select. From prior experience with OCP exams, they tend to go for the simplest way to get an answer. So DBA_SEGMENTS is the correct answer in their view, although you *can* get the same information from DBA_EXTENTS.


Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Rachel Carmichael
  INET: wisernet100_at_yahoo.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Wed Jan 07 2004 - 07:29:25 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US