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

Home -> Community -> Mailing Lists -> Oracle-L -> May be Oracle Bug in View

May be Oracle Bug in View

From: Veera Prasad <vprasad_at_olf.com>
Date: Fri, 16 Feb 2001 09:45:37 -0800
Message-ID: <F001.002B6822.20010216083121@fatcity.com>

I have table which has two cols in it like below: create table test (col1 number(20), col2 number(20)); Table created.

Now, I have a situation where I need to create a view on this table with three columns and third column is sum of first and second columns.

create view test_view (col1, col2, col3) as select col1, col2, col1+col2 from test;
View created.

check this out when I describe the view : desc test_view

 Name                   Null? Type
 
-----------------------------------------------------------------------------------------------------


 COL1              NUMBER(20)
 COL2              NUMBER(20)
 COL3              NUMBER

The Length of third column is missing , could anybody throw some light on this issue ..
Please advice me how the handle this problem ....

Veera

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Veera Prasad
  INET: vprasad_at_olf.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 Fri Feb 16 2001 - 11:45:37 CST

Original text of this message

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