I am uncertain why you believe this to be a problem. Its using the default
number size (38 I think) but it's not really storing it anywhere, it's just
keeping the definition, so what do you care how big it thinks it is? Its
plenty large enough to handle any sum of to number(20)s.
At 08:31 AM 2/16/01 -0800, you wrote:
>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: [EMAIL PROTECTED]
>
>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: [EMAIL PROTECTED] (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: Regina Harter
INET: [EMAIL PROTECTED]
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: [EMAIL PROTECTED] (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).