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: Data Type in A View

RE: Data Type in A View

From: <Babu.Nagarajan_at_Cummins.com>
Date: Mon, 05 Aug 2002 09:44:33 -0800
Message-ID: <F001.004AB698.20020805094433@fatcity.com>

Did you check out the "on prebuilt table with reduced precision"

WITH REDUCED
PRECISION
lets you authorize the loss of precision that will result if the precision of the table or materialized view columns do not exactly match the precision returned by subquery.

Babu

"MacGregor, Ian A." <ian_at_SLAC.Stanford.EDU>@fatcity.com on 08/05/2002 12:13:24 PM

Please respond to ORACLE-L_at_fatcity.com

Sent by: root_at_fatcity.com

To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com> cc:

I read the note before I sent the first mail. The note is of no assistance. The trouble is that that the prebuilt table does not match the definition query or at least the queries I've formulated. I tried casting, and using a format with to_number neither worked. No matter how I manipulate a number Oracle returns it as a number without an explicit precision or scale; hence the error.

Ian MacGregor
Stanford Linear Accelerator Center
ian_at_SLAC.Stanford.edu

-----Original Message-----
Sent: Sunday, August 04, 2002 7:48 PM
To: Multiple recipients of list ORACLE-L

On Sat, Aug 03, 2002 at 08:18:19PM -0800, MacGregor, Ian A. wrote:
>
> I thought, perhaps, I could prebuild the table and declare the field as
number(6,2) and have the snapshot use that. However this results in, "ORA-12060: shape of prebuilt table does not match definition query."

Note:71943.1
Action: Reissue the SQL command using BUILD IMMEDIATE, BUILD DEFERRED, or

      ensure that the prebuilt table matches the snapshot definition query.



Ray Stell stellr_at_vt.edu (540) 231-4109 KE4TJC 28^D
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Ray Stell
  INET: stellr_at_cns.vt.edu

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: MacGregor, Ian A.
  INET: ian_at_SLAC.Stanford.EDU

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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).




-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: Babu.Nagarajan_at_Cummins.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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 Mon Aug 05 2002 - 12:44:33 CDT

Original text of this message

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